[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] transformation of narrative documents with nested elements


Subject: Re: [xsl] transformation of narrative documents with nested elements
From: Andrea Fiore <a.flow@xxxxxxxxxx>
Date: Sun, 16 Jan 2005 19:32:35 +0000

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


Current Thread