|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Selecting text bisected by child nodes.
From: "Gan Uesli Starling" <alias@xxxxxxxxxxx>
> An actual XML node is like this...
>
> <op>pow(<in>2.0, -3</in>)</op>
>
This template:
<xsl:template match="op">
<html>
<body>
<p><xsl:apply-templates mode="do-nothing"/></p>
</body>
</html>
</xsl:template>
Relies on the existence of a do-nothing template for *in*:
<xsl:template match="in" mode="do-nothing"/>
And returns your desired result wrapped in p tags.
hth,
Mike
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








