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

problems with transforming xml with xsl! sample inside

Subject: problems with transforming xml with xsl! sample inside
From: Jan Krattiger <Jan.Krattiger@xxxxxxxx>
Date: Thu, 14 Mar 2002 13:53:36 +0100
professional jmk software
i have the following xml:

<doc>
    <links>
      <link id="lr1" name="xyz" value="xyz.com" />
      <link id="lr2" name="abc" value="abc.com" />
    </links>
    <paragraphs>
      <paragraph title="foo">
      some text here, some text here <linkRef id="lr1"/> another text,
another text <linkRef id="lr2"/> and even more text.
      </paragraph>
    </paragraphs>
</doc>

the result should look like this:

foo
some text here, some text here xyz.com another text, another text abc.com
and even more text.


the goal is to transform this xml with a xsl. now the problem is, that i'm
not able to replace the <linkRef> with the specfied link. i tried to do it
within xsl and tried to do it with dom in asp. i don't know how i can
realize that. anyone knows a solution? thanks for any help.
i heard something about transorming it twice.. but i dunno how to do it. 

J.M.K

Software Developer

Unit.Net AG
Thurgauerstrasse 54
CH - 8050 Zurich

Email:   jan.krattiger@xxxxxxxx       
Web:     http://unit.net




****************************************************************************
The content of this e-mail is for the confidential and exclusive use of the
intended recipient. If you are not the intended recipient, you are hereby
notified that any use, distribution, or reproduction of the contents of this
e-mail is strictly prohibited and may be unlawful. If you are not the
intended recipient, please notify us immediately by electronic mail at the
above address (or if known by telephone or by fax), delete the e-mail and
destroy any copies of it. 
E-mail communications are not secure and therefore we do not accept any
responsibility for the confidentiality or altered contents of this message.
Please be aware that our company cannot accept any orders or other legally
binding correspondence with a participant as part of an e-mail. The views
expressed above are not necessarily those held by our company and not
binding for our company.
****************************************************************************

 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.