This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Newbie question: copying almost all nodes in XSLT


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]