[Home] [By Thread] [By Date] [Recent Entries]
At 2007-10-02 17:05 +0900, Christian Wittern wrote:
In trying to solve the following problem I am seeking your help: From your comment "capturing the content in a string and then..." I'm assuming you have something like: <xsl:template match="p">
<xsl:analyze-string select="." .....
</xsl:template>If you break this into pieces you can work on each text bit in turn: <xsl:template match="p">
<xsl:apply-templates mode="in-p" select="node()"/>
</xsl:template>
<xsl:template mode="in-p" match="*">
<xsl:apply-templates select="."/> <!--reapply in the default mode-->
</xsl:template>
<xsl:template mode="in-p" match="text()">
<xsl:analyze-string select="." .....I hope this helps. . . . . . . . . . . . . Ken -- Upcoming public training: UBL and code lists Oct 1/5; Madrid Spain World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Jul'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|

Cart



