Subject: transform in xslt
Posted By: kgoldvas Post Date: 1/24/2006 5:38:01 AM
how do I write the code that transform this line
<value parameter-name="apptier-id" parameter-value="!~apptier_id!~"/>

to become this new line:
<value parameter-name="timeFrame" parameter-value="!~timeframe!~"/>

with the new changed parameters and names.
thank you
kfir

Reply By: mhkay Reply Date: 1/24/2006 6:14:59 AM
How to you transform 5 into 10? You could add 5, or you could multiply by 2. In short, you need to explain how the output is supposed to relate to the input. Or you could just generate the output as a constant and ignore the input entirely.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference

Go to topic 38551

Return to index page 387
Return to index page 386
Return to index page 385
Return to index page 384
Return to index page 383
Return to index page 382
Return to index page 381
Return to index page 380
Return to index page 379
Return to index page 378