xsl-list
[Top] [All Lists]

Re: transformation of narrative documents with nested elements

2005-01-16 12:32:35
Joris Gillis wrote:

Just replace 'xsl:value-of' elements with 'xsl:apply-templates' elements in the templates:

<xsl:template match="bold">
    <xsl:element name="strong">
      <xsl:apply-templates/>
    </xsl:element>
</xsl:template>
<xsl:template match="emph">
    <xsl:element name="em">
      <xsl:apply-templates/>
    </xsl:element>
</xsl:template>

Tank you very much for your suggestions Joris; now it works :-)
bye

_Andrea

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>