|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: empty element sabotages xsl:key
Hi Nick, I ran your example with MSXML3 -- no problems at all. With Saxon 5.4 (which uses Xerces)no output was produced. I know 5.4 is rather old version, but this is what I have. > Is it illegal for an attribute to be set to null? > > <OUTSYSNUMBER CODE=""></OUTSYSNUMBER> No, it's OK. Dimitre Novatchev. Nick Ridout wrote: Just wondered if anyone could explain this? I was getting results with key () that I couldn't understand, and after much hair-pulling decided to ask here. I deleted a bunch of lines from my input XML so it would be short enough to post, and all of a sudden key() started working. So I played with it until I found an element that, when present, appeared to sabotage <xsl:key>. Is it illegal for an attribute to be set to null? <OUTSYSNUMBER CODE=""></OUTSYSNUMBER> I admit to being backleveled. I think I'm running Xerces 1.0.3 (Xalan.jar and Xerces.jar that came with LotusXSL 1.0.1). __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








