This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Hi trevor,

thanks for your reply!

>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.

other than what I sent through there are three other lines of code with the word "type", none of which refer to name="type") and all of them behaving as expected...

>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?

I am not sure how to do this, I will have to see if someone else on my team does.

>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;//

well, that part of the style sheet still returns the correct value either way, so I don't think the problem is there...

cheers
Jo
-- 
Jo Bourne
Virtual Artists Pty Ltd

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]