[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How Do I Exclude Portions Of XML When XForming XML To

Subject: How Do I Exclude Portions Of XML When XForming XML To XML
From: "Gary Fix" <gary.fix@xxxxxxxxxx>
Date: Tue, 24 Feb 2004 15:16:22 -0800
gary fix
> Hi,
> I have a sample XML file and I want to transform this to a different XML file while omitting part of the original xml.
> For example,
> <Auto>
> 	<CustId>
> 		<SPName>com.anysystem</SPName>
> 		<CustPermId/>
> 		<CustLoginId>fred</CustLoginId>
> 	</CustId>
> 	<BasicVehInfo>
> 		<ModelYear>1994</ModelYear>
> 		<VehIdentificationNumber>1ABCD123456</VehIdentificationNumber>
> 	</BasicVehInfo>
> </Auto>
> I want the resulting XML file to look like this:
> <Vehicle>
> 	<VehicleData>
> 		<VehicleYear>1994</VehicleYear>
> 		<VIN>1ABCD23456</VIN>
> 	</VehicleData>
> </Vehicle>
> 
> Where Vehicle replaces Auto, VehicleData replaces BasicVehInfo, VehicleYear replaces ModelYear and so on.
> 
> Any help would be appreciated.
> thanks...gary...
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.