You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Tung Mansfield <ma...@orbitcommerce.com> on 2000/11/14 19:44:12 UTC
transforming from simple xml to complicated xml
I have the following XML:
<Person>
<Name>John</Name>
<Street>1 West Ave</Street>
<City>Chicago</City>
<State>IL</State>
<ZipCode>11111</ZipCode>
</Person>
What is the XSLT that I should use to transform the above XML to:
<Person>
<Name>John</Name>
<Address>
<Street>1 West Ave</Street>
<City>Chicago</City>
<State>IL</State>
<ZipCode>11111</ZipCode>
</Address>
</Person>
Isn't it usually easier to transform from a more complex XML to a simpler
XML?