Subject: Re: Matchin elements in text nodes
From: cutlass <cutlass@xxxxxxxxxxx>
Date: Fri, 19 Jan 2001 12:34:07 +0000
|
remember to think of applying style using templates
try something like the xsl below
,jim fuller
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<p>
<xsl:value-of select="article"/>
<xsl:apply-templates/>
</p>
</body>
</html>
</xsl:template>
<xsl:template match="subheader">
<b><xsl:value-of select="//subheader"/></b>
</xsl:template>
</xsl:stylesheet>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|