P
plopez
Hi
I'm a bit of a noob to xslt. I have a data.xml document like this..
input.xml
<energy>
..lots and lots of other data.....
<units>(Watts)<\units>
<value>1000.0<\value>
</energy>
Now I want to have an xslt stylesheet that will convert it from watts to
kilowatts.
output.xml
<energy>
..lots and lots of other data.....
<units>(KiloWatts)<\units>
<value>1.0<\value>
</energy>
Any ideas?
Thanks
I'm a bit of a noob to xslt. I have a data.xml document like this..
input.xml
<energy>
..lots and lots of other data.....
<units>(Watts)<\units>
<value>1000.0<\value>
</energy>
Now I want to have an xslt stylesheet that will convert it from watts to
kilowatts.
output.xml
<energy>
..lots and lots of other data.....
<units>(KiloWatts)<\units>
<value>1.0<\value>
</energy>
Any ideas?
Thanks