RE: Newbie: Embedding styles in XML blocks2003-09-24 10:34:40On 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
|
|