JFont
asked on
Decoding values From within XSL
I have the following (sample) XML:
<Customers>
<Name>John Doe</Name>
<CityCode>NYC</CityCode>
<Name>Alan Smith</Name>
<CityCode>LAN</CityCode>
...
</Customers>
And want (if possible from within the transforming XSL) to decode the value of <CityCode> from the following XML:
<Cities>
<CityCode>NYC<Name>New York</Name></CityCode>
<CityCode>LAN<Name>Los Angeles</Name></CityCode>
</Cities>
I'm at my wits end on how to do this. Thanks
<Customers>
<Name>John Doe</Name>
<CityCode>NYC</CityCode>
<Name>Alan Smith</Name>
<CityCode>LAN</CityCode>
...
</Customers>
And want (if possible from within the transforming XSL) to decode the value of <CityCode> from the following XML:
<Cities>
<CityCode>NYC<Name>New York</Name></CityCode>
<CityCode>LAN<Name>Los Angeles</Name></CityCode>
</Cities>
I'm at my wits end on how to do this. Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER