Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] segmenting a paragraph [Thread Next] RE: [xsl] segmenting a paragraphTo: Date: 10/2/2007 12:28:00 PM > <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/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
