|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Beginner's question
> Suppose I have an XML document with a complex DTD. The DTD > contains a tag > deep in the hierarchy called <code>. How would I transform > the XML doc to > another XML doc that was identical except for having the > <code> tag removed? > > I said it was a simple question! > It is. Use the identity template rule (see section 7.5 of the XSLT spec) for most elements, and override it with the empty template rule for code elements: <xsl:template match="code"/> Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








