Altova Mailing List Archives

XSLT Atrtibute Value

From: "parvus" <parvus23@---.-->
Date: 1/11/2006 4:11:00 AM
Hi, I=B4m searching a solution for the following problem:
I=B4ve a generated XML Document like

<struct name=3D"number" type=3D"PartNumber">100</struct>
<struct name=3D"identity" type=3D"PartIdentity">1</struct>
<enum name=3D"ex_identity" type=3D"....."></enum>

Now i want to use a XSLT file to create a new structured XML file like

<number sort=3D"struct" type=3D"PartNumber">100</struct>
<identity sort=3D"struct" type=3D"PartIdentity">1</struct>
<ex_identity sort=3D"enum" type=3D"........

My problem ist, that i couldn=B4t read out the value of the attribute
"name" so i can=B4t
create a new element of it. Furthermore i need to create the other
attributes for the new element or maybe i can copy them easily(?). Does
anybody have any solution? PLZ help me im searching for a long time.

Big THX parvus


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.