[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: problem with name="type" in html input tag

Subject: Re: problem with name="type" in html input tag
From: tcn@xxxxxxxxxxxxx (Trevor Nash)
Date: Sun, 13 May 2001 15:08:27 GMT
html input tag filter
Hi Jo,

>my problem is that in copying a html input tag from my xml source to my html output
>the attribute type="hidden" is being deleted if, and only if, the value of the name
>attribute is "type". eg <input name="type" type="hidden" ... >

I don't see anything in your XSL which would cause this: I passed a
slightly modified version through Saxon 6.0.2 and the output looks OK
to me.  But I also think it *very* unlikely it is a cocoon bug - not
that cocoon is free of bugs, just that it is unlikely to take
exception to a specific attribute value.

Before looking for a bug elsewhere, eliminate these two possibilities:

1.  Most likely, there is a template elsewhere in your XSL which is
picking up the offending element.  Make sure you are getting the right
template by putting some marker text in it, and seeing that this text
apears in the output.

2. Run the XSLT step by itself (i.e. run Xalan directly) to see if
maybe something elsewhere in the process is picking up on name="type".
A SAX filter or similar?

If that does not reveal the problem, then start cutting down the input
and XSL so that you can give us (or the cocoon folk) a complete input
+ XSL + output to work with.  For example, in the stuff you posted you
do not give us the definition of the key used in

>		<xsl:value-of select="key('field_titles', name())/@title" />&#160;//

though it is probably irrelevant.

Regards,
Trevor Nash


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.