This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Matchin elements in text nodes
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Matchin elements in text nodes
- From: cutlass <cutlass at secure0 dot com>
- Date: Fri, 19 Jan 2001 12:34:07 +0000
- References: <C22569D9.004267E4.00@mail01.telia.fi>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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