[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Help needed to transform in data joining
Hi, I have this XML file , need to do union of all Address and SBSaddress_ elements based on id attribute join condition in XSL file .Address element has to be overridden in the output if SBSaddress has the data. I appreciate if anybody can help and give some references on this. Thanks, Kota Input XML file: <root> <A> <B> <ADDRESSES> <ADDRESS id='1'><State>CO</State><Address1/><Address2/><City>flroen</City><Countr y>UnitedStates</Country><Province>--Select--</Province><ZipCode>11</ZipC ode><County/></ADDRESS> <ADDRESS id='2'><State>KY</State><Address1>campbellcounty</Address1><Address2/><C ity>fortthomas</City><Country>UnitedStates</Country><Province>--Select-- </Province><ZipCode>41075</ZipCode><County/></ADDRESS> </ADDRESSES> </B> </A> <c> <addresslists> <SBSaddress_ id='1'><State>CO</State><Address1>florence</Address1><Address2/><City>fl roen</City><Country>UnitedStates</Country><Province>--Select--</Province ><ZipCode>11</ZipCode><County/></SBSaddress_> <SBSaddress_ id='2'><State></State><Address1></Address1><Address2>bananacounty</<Addr ess2><City>fortthomas</City><Country>UnitedStates</Country><Province>--S elect--</Province><ZipCode>11</ZipCode><County/></SBSaddress_> </addresslists> </c> </root> ***************************************************************************** ******* The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ***************************************************************************** *******
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|