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
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