Mac wrote:
> Basically I have some nodes that represent paragraphs
>
> <para>Sally Sells Sea Shells Down By The Sea Shore.</para>
>
> in there, some of the text are wrapped with identifier
> <para>Sally <hlt>Sells</hlt> Sea Shells <hlt>Down</hlt> By The Sea
> Shore.</para>
>
> I need to change the output of those to be an html element so I can
> apply a css style to it.
<xsl:template match="para">
<p>
<!-- This applies templates for all the text and element child nodes -->
<xsl:apply-templates/>
</p>
</xsl:template>
<xsl:template match="hlt">
<span>
<xsl:apply-templates/>
</span>
</xsl:template>
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
|