Subject: RE: segmenting a paragraph
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 2 Oct 2007 13:27:03 +0100
|
> <xsl:template match="note" mode="zap-node">
> <xsl:text>@@@@@</xsl:text> <xsl:value-of
> select="count(preceding-sibling::note)+1"/>
> <xsl:text>!!!!!</xsl:text>
> </xsl:template>
>
This is essentially a variant of the approach using saxon:serialize(), which
inserts the strings <note> and </note> instead of @@@@@ and !!!!!.
Michael Kay
http://www.saxonica.com/
| Current Thread |
Wendell Piez - 2 Oct 2007 15:36:01 -0000
David Carlisle - 2 Oct 2007 12:04:59 -0000
- Michael Kay - 2 Oct 2007 12:27:36 -0000 <=
|
|