This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Newbie question: copying almost all nodes in XSLT
- To: xsl-list at mulberrytech dot com
- Subject: Newbie question: copying almost all nodes in XSLT
- From: NA <tng at wineasy dot se>
- Date: Sun, 12 Mar 2000 13:07:43 +0100
- Reply-To: xsl-list at mulberrytech dot com
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@wineasy.se
PAGESTER
www.pagester.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list