Subject: Re: [xsl] Remove parent node for the specific child nodes From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Tue, 12 Feb 2008 16:08:15 +0100 |
As you can see, I have to eliminate moveFrom and moveFromRangeStart nodes and if there are no any other siblings then remove the parent <p> node.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="@* | node()"> <xsl:copy> <xsl:apply-templates select="@* | node()"/> </xsl:copy> </xsl:template>
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Remove parent node for th, Andrew Welch | Thread | Re: [xsl] Remove parent node for th, Michael Daniloff |
RE: [xsl] Default namespaces, Michael Kay | Date | [xsl] Re: xml->xml using xslt, Rose Rose |
Month |