Re: Null Attributes Break xsl:key?

Subject: Re: Null Attributes Break xsl:key?
From: Jeni Tennison <Jeni.Tennison@xxxxxxxxxxxxxxxx>
Date: Tue, 06 Jun 2000 13:09:46 +0100
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


Current Thread