[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] cross references in xslt


Subject: RE: [xsl] cross references in xslt
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 13 Apr 2006 17:39:55 +0100

> I have an xml in this format:
> 
> <list1 id="list3">
>   <list2 id="list2">
>        <list3>
>        </list3>
> 
>    <list2>
> <list2>
> 
> </list2>
> </list1>
> 
> How can the id attaribute be handled to point to the right referenced
> list number?

I suppose that "the right referenced list number" for id="list2" is one of
the <list2> elements, but without knowing which one, I can't really help.

Michael Kay
http://www.saxonica.com/


Current Thread
Keywords
xml