[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: flattening an xml hierarchy
This is a very simple modified identity transform:
<!-- Copy everything unchanged... --> <xsl:template match="@* | node()"> <xsl:apply-templates select="@* | node()"/> </xsl:template> <!-- ...except for these elements --> <xsl:template match="Dontwant1 | dontwant2"> <xsl:apply-templates/> <!-- Just process their contents --> </xsl:template> Evan Tim wrote: Hi, I'd like to remove some elements from an xml hierachy using xslt:
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|