xsl-list
[Top] [All Lists]

RE: Newbie: Embedding styles in XML blocks

2003-09-24 10:34:40
On Wed, 2003-09-24 at 09:59, Ryan Graham wrote:
Try

<xsl:template match="para">
      <p><xsl:apply-templates /></p>
</xsl:template>

<xsl:template match="i">
      <i><xsl:value-of select="." /></i>
</xsl:template>

Thanks, that did the trick. Actually genericized it a bit more to catch
all undefined tags (see if that bites me later) such that:

  <xsl:template match="*">
    <xsl:copy-of select="." />
  </xsl:template>

cheers,
arne


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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