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

Interesting(?) XSLT task


Subject: Interesting(?) XSLT task
From: "Terris" <terris@xxxxxxxxxx>
Date: Fri, 5 Nov 1999 09:57:36 -0800

Let's say I have the following document which 
has IDs and IDREFs:

<User id="id5"/>
<Login id="id1" user="id5" name="bar"/>
<Login id="id2" user="id5" name="foo"/>

I want to produce:

<User id="id5" logins="id1 id2"/>

I add a new attribute called logins which
contains the ids of the objects that reference
the user.

Can someone show me a stylesheet that can
do this?  I am having trouble with 
concatenation two ids in the logins
attribute.

Thanks,
Terris






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



Current Thread