RE: [xsl] Newbie: Embedding styles in XML blocks

Subject: RE: [xsl] Newbie: Embedding styles in XML blocks
From: Arne Claassen <xsl@xxxxxxxxxxxx>
Date: 24 Sep 2003 10:34:40 -0700
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


Current Thread