Re: [xsl] Processing IDREFS attributes

Subject: Re: [xsl] Processing IDREFS attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 1 Nov 2005 22:41:37 GMT
> Instead of getting tokens I can process I'm getting the list back again, 
> which isn't any greater help.

No. You can't get the list back from that code. id() never returns its
argument (unless of course it just happens thatteh string value of the
elements referenced  happens to be the same as the string value of the
idref attribute.

>  Unless something else would help me break up 
> the list into individual pieces, the template route seems to be the only 
> thing that works.

id() will tokenize the list and return a set of all the elements that
have ID equal to any of teh tokens in the list.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread