This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Null Attributes Break xsl:key?
- To: Bill Entwistle <ent at shout dot net>
- Subject: Re: Null Attributes Break xsl:key?
- From: Jeni Tennison <Jeni dot Tennison at epistemics dot co dot uk>
- Date: Tue, 06 Jun 2000 13:09:46 +0100
- Cc: XSL-List at mulberrytech dot com
- Reply-To: xsl-list at mulberrytech dot com
Bill,
>Is a null attribute legal? As in, for example:
>
> <some-element some-attribute=""/>
>
>If so, then the following looks like a Xalan bug. I would love
>to find out otherwise, or be given a workaround for the problem.
A null attribute is legal, and having tested your XML & XSL in SAXON, it
handles it absolutely fine, so it does look like a Xalan bug.
You could try:
<xsl:copy-of select="/group/person[id[@code='1672']]" />
instead for now.
Cheers,
Jeni
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list