469,343 Members | 5,406 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,343 developers. It's quick & easy.

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 871

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
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.