RE: [xml-dev] JAXP's ID Transform failing to include namespace declaration attributes

From
Michael Kay <>
To
'Evan Lenz' <>, 'Elliotte Rusty Harold' <>,
Date
2002-01-05T17:45:23
ID
<001001c19610$c412e3e0$465169d5@pcukmka>
Thread
RE: [xml-dev] JAXP's ID Transform failing to include namespace declaration attributes
> Actually, the real bug is that XSLT doesn't provide *any* way
> to create an
> ID attribute in the result, or even to test whether a given
> attribute in the
> source tree is an ID attribute. (If someone could prove me
> wrong on this
> latter point, I'd greatly appreciate it!)

You are correct.

Given <a id1="xyz" id2="xyz"/> I can determine (laboriously) that the
element has an ID attribute whose value is "xyz", but I cannot determine
which of id1 or id2 is the ID attribute.

Mike Kay