Subject: RE: Template Question
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 28 Apr 2000 09:28:47 +0100
|
> <Chap1>The big<HL>dog</HL> and the little cat</Chap1>
> <xsl:template name="Chap1">
> <Chap1Text><xsl:value-of select="."/></Chap1text><BR>
> </xsl:template>
>
>
> I would like to display all the texts according to the Stylesheet's
> order(e.g. first chap1, then chap2, then chap3....). At the
> same time I would like to change all the <HL> tags to <B> tags; <HL> tags
> can be found anywhere in the document.
Change the Chap1 template above, and others similar, to use
<xsl:apply-templates/> instead of <xsl:value-of select="."/>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|