Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - >Thread Next - RE: [xml-dev] Removing nodes but leaving the tree intact [xml-dev] Removing nodes but leaving the tree intactTo: xml-dev@-----.---.--- Date: 11/20/2008 11:43:00 AM 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.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
