RE: use of id(...) ?

Subject: RE: use of id(...) ?
From: "Harbarth, Juliane" <Juliane.Harbarth@xxxxxxxxxxxxxx>
Date: Mon, 29 Nov 1999 10:54:30 +0100
Hi,

you did not mention which XSL processor you are using.
It might well be, it does not support the 'id' function.
XT does support it.

An attribute of type 'ID' is only recognized as such, if
you say so in your schema specification (i.e. your DTD)
and this specification is available to the XSL processor.
There might be a problem with the XML parser you/your 
XSL processor is using. If the parser in use does not 
read the external subset and your schema description 
is external, it won't work. 
Together with XT, you best use XP.

The input to the 'id' function may be any expression, 
i.e. it might especially be a variable. 

If you want to refer to an attribute of a type other 
than ID, use <xsl:key>.

Juliane.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread