472,127 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

Delete parent nodes from XML

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0"?>
  2. <Query xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="abc" >
  3.   <Grs>
  4.     <Gr Name="a">
  5.       <Cls>
  6.         <Cl Name="b">
  7.           <Properties>
  8.             <Property Name="Fr" ></Property>
  9.           </Properties>
  10.         </Cl>
  11.       </Cls>
  12.     </Gr>
  13.   </Grs>
  14. </Query>
I need output as using XSLT

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0"?>
  2. <Query xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="abc" >
  3.     <Gr Name="a">
  4.        <Cl Name="b">
  5.            <Property Name="Fr" ></Property>
  6.         </Cl>
  7.     </Gr>
  8. </Query>
mail me <email_removed>
Dec 14 '07 #1
0 904

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Martin Magnusson | last post: by
reply views Thread by JJ | last post: by
7 posts views Thread by amruta | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.