Subject: Re: [xsl] Problem in Poem From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Wed, 07 Feb 2007 13:50:32 +0100 |
Here is my XSLT ===============
<xsl:template match="P">
<poem> <xsl:for-each select="tokenize(., '
')"> <xsl:text>
</xsl:text> <xsl:analyze-string select="normalize-space(.)" regex=".{{1,80}}(\s|$)">
<xsl:matching-substring> <line><xsl:value-of select="."/></line> </xsl:matching-substring> <xsl:non-matching-substring> <xsl:value-of select="."/> </xsl:non-matching-substring> </xsl:analyze-string>
</xsl:for-each> </poem> </xsl:template>
In my XSL files output only line coding. But I m not success to stanza coding. anyone help
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Problem in Poem, Michael Kay | Thread | [xsl] complex table header, Angela Williams |
Re: [xsl] Checking a parent's attri, Nicholas Orr | Date | Re: [xsl] Newbie question on XSL tr, Owen Rees |
Month |