This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Replacing a string by another which is found by reference in the same XML document




Hello,

Congratulation    for   this   list.   I   spent   a   lot   of   time   on
http://www.dpawson.co.uk/.   in  the  trouble  shooting area, and learned a
lot,  a  found many answers to my problems, but not for this one. As I am a
beginner in XML/XSL, I may post an abvious question but let's go.....

First I am using IE5 to read an XML file referencing an XSL stylesheet.

My source XML contains something like:
 <Root>
 <Class
      Name="MyClass"
      Uuid="80A2B3BD-0000-520C-383BE4980006BE67"
TargetRef="80A2B3BD-0000-520C-383BE4980006A75A">
</Class>

<AnotherObject
Name="MyObject"
Uuid="80A2B3BD-0000-520C-383BE4980006B687">
</AnotherObject>
</Root>

I have an XSL style sheet  to display it on IE5 with apropriate style. I
would like to get as output:

Class:
Name="MyClass"
TargetRef="MyObject"

Where the TargetRef string has been replaced by the value of the string
with the same Uuid.

Can anybody help?
Thanks a lot

Vincent





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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]