simonchristieis
Programmer
What I would like to do do apply templates on each word in a sentence.
For example,
xml
Thanks in advance.
Simon
For example,
xml
Code:
<root>
<test>One Two Three</test>
</root>
Code:
<xsl:apply-templates select="dunno where to start" mode="stuff"/>
<xsl:template match="*" mode="markup">
<xsl:if test=".='One'">Oooh One</xsl:if>
<xsl:if test=".='Two'">Tis Two</xsl:if>
<xsl:if test=".='Three'">Yippee Three</xsl:if>
</xsl:template>
Thanks in advance.
Simon