|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: text() and not()
>//text()[not(parent::title)] This is close :) however it fails to match the trailing close bracket ')' for some reason. Here is the XML again: <title> Renew LP Piston Seal (Fig 5.5.1 <xref xrefid="F5.5.1" xidtype="FIGURE">) </xref> </title> David Carlisle wrote: >> I am overriding the default template using >> >> <xsl:template match=text()/> > >It is actually very rare to declare any template for text nodes, you >certainly don't need to do so here. If I dont use this a load of info gets output that isnt necessary in this instance (but it useful to someone somewhere :) Thanks once again andrew 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








