Subject: RE: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] segmenting a paragraph, David Carlisle | Thread | Re: [xsl] segmenting a paragraph, David Carlisle |
[xsl] Using the Input Document to C, Kerry, Richard | Date | RE: [xsl] Using the Input Document , Michael Kay |
Month |