Delete parent nodes from XML

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SHRIDXbJ
    New Member
    • Dec 2007
    • 1

    #1

    Delete parent nodes from XML

    Code:
    <?xml version="1.0"?>
    <Query xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="abc" >
      <Grs>
        <Gr Name="a">
          <Cls>
            <Cl Name="b">
              <Properties>
                <Property Name="Fr" ></Property>
              </Properties>
            </Cl>
          </Cls>
        </Gr>
      </Grs>
    </Query>
    I need output as using XSLT

    Code:
    <?xml version="1.0"?>
    <Query xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="abc" >
        <Gr Name="a">
           <Cl Name="b">
               <Property Name="Fr" ></Property>
            </Cl>
        </Gr>
    </Query>
    mail me <email_remove d>
Working...