Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - Re: [xsl] extracting data from an element [xsl] extracting data from an elementTo: Date: 2/3/2009 11:40:00 AM Hello everyone,
Today I have a different problem. How do I extract data from an
element? for example if I have something that looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<DIMENSIONS>
<DIMENTION> T=60 896 x 476</DIMENTION>
<DIMENTION> T=160 89 x 46</DIMENTION>
</DIMENSIONS>
into something like this:
<?xml version="1.0" encoding="UTF-8"?>
<DIMENSIONS>
<DIMENTION>
<Length>60</Length>
<Width>896></Width>
<Mass>476></Mass>
</DIMENSION>
<DIMENTION>
<Length>160</Length>
<Width>89></Width>
<Mass>46></Mass>
</DIMENSION>
</DIMENSIONS>
I'm learning a lot here. Many thanks for the assistance you've given me so far.
Cheers,
Mike. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
