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

Re: empty element sabotages xsl:key

Subject: Re: empty element sabotages xsl:key
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 14 Feb 2001 01:52:10 -0800 (PST)
 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


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.