This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Matchin elements in text nodes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]