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: Null Attributes Break xsl:key?


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

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