[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Move elements to an upper level
Subject: [xsl] Move elements to an upper level From: "Borca, Olivier" <Olivier.Borca@xxxxxxxxxxxxxxxx> Date: Tue, 13 Mar 2001 09:55:20 +0100 |
Hi all, Source file: <CIM_ActiveConnection SUPERCLASS="CIM_SAPSAPDependency"> <IsUnidirectional TYPE="boolean"/> <OtherTrafficDescription TYPE="string"/> <TrafficType TYPE="uint16"> <TrafficTypeValueMap><ValueMap>0</ValueMap><Value>Unknown</Value></Traff icTypeValueMap> <TrafficTypeValueMap><ValueMap>1</ValueMap><Value>Other</Value></Traffic TypeValueMap> <TrafficTypeValueMap><ValueMap>2</ValueMap><Value>Unicast</Value></Traff icTypeValueMap> <TrafficTypeValueMap><ValueMap>3</ValueMap><Value>Broadcast</Value></Tra fficTypeValueMap> <TrafficTypeValueMap><ValueMap>4</ValueMap><Value>Multicast</Value></Tra fficTypeValueMap> <TrafficTypeValueMap><ValueMap>5</ValueMap><Value>Anycast</Value></Traff icTypeValueMap> </TrafficType> </CIM_ActiveConnection> Destination file: <CIM_ActiveConnection SUPERCLASS="CIM_SAPSAPDependency"> <IsUnidirectional TYPE="boolean"/> <OtherTrafficDescription TYPE="string"/> <TrafficType TYPE="uint16"></TrafficType> <TrafficTypeValueMap><ValueMap>0</ValueMap><Value>Unknown</Value></Traff icTypeValueMap> <TrafficTypeValueMap><ValueMap>1</ValueMap><Value>Other</Value></Traffic TypeValueMap> <TrafficTypeValueMap><ValueMap>2</ValueMap><Value>Unicast</Value></Traff icTypeValueMap> <TrafficTypeValueMap><ValueMap>3</ValueMap><Value>Broadcast</Value></Tra fficTypeValueMap> <TrafficTypeValueMap><ValueMap>4</ValueMap><Value>Multicast</Value></Tra fficTypeValueMap> <TrafficTypeValueMap><ValueMap>5</ValueMap><Value>Anycast</Value></Traff icTypeValueMap> </CIM_ActiveConnection> In fact, I want to keep the TrafficType element which becomes empty, and move all the its TrafficTypeValueMap elements at the same level as TrafficType. Is it possible to do that ? -------------------------------------------------- Olivier Borca SoftPlumbers Engineer (Geneva) Tel: (+4122) 8491003 E-Mail: olivier.borca@xxxxxxxxxxxxxxxx -------------------------------------------------- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] calculating the length ??, Dimitre Novatchev | Thread | Re: [xsl] Move elements to an upper, Jeni Tennison |
RE: [xsl] mismatched tags with xsl:, Xavier Defrang | Date | RE: [xsl] splitting one xml into ma, Joerg Pietschmann |
Month |