XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Removing nodes but leaving the tree intact

Hello Everyone,

I have a automatically generated xml tree like this:

<root>
  <someobject/>
  <someotherobject/>
  <somecategory>
    <somename>
      <somecategory>
        <someothername>
          <someobject/>
          <someotherobject/>
        </someothername>
      </somecategory>
    <someobject/>
    <someotherobject/>
  </some name>
  </some category>
</root>

I generate a lot of these files, always containing nested <somecategory> elements.

Is there a clean way to use xsl to remove the <somecategory> elements and return the xml intact, just without the <somecategory> elements?

Kind regards.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS