[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Replacing a string by another which is found by reference in

Subject: Replacing a string by another which is found by reference in the same XML document
From: vincent_garsuault@xxxxxxxxx
Date: Fri, 16 Jun 2000 18:50:01 +0200
javascript by reference string

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.