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

Newbie question: copying almost all nodes in XSLT

Subject: Newbie question: copying almost all nodes in XSLT
From: NA <tng@xxxxxxxxxx>
Date: Sun, 12 Mar 2000 13:07:43 +0100
xslt copy all nodes
Hi,

Im trying to do two xslt transformations chained after eachother. My
original document looks something like this:

<root>
  <p id="1">
    This page has been visited <count/> times!
  </p>
</root>

After the first transformation i want it to just replace the count element
but keep the rest of the page intact so that the result is like this:

<root>
  <p id="1">
    This page has been visited <xsp:expr>count</xsp:expr> times!
  </p>
</root>

I have tried all types of combinations using <copy-of> etc etc but i just
cant get it to work. Help =)

/Niklas Agevik


Niklas Agevik
tng@xxxxxxxxxx

PAGESTER
www.pagester.com


 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.