Subject: RE: [xsl] correction:How to do a subscript from <sup>-34</sup> From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Tue, 7 May 2002 23:08:46 +0100 |
> > How can I go through my xml file and replace the following > with subscript: > <sup>-34</sup> > Write two template rules: <xsl:template match="node()"> <xsl:copy/> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> <xsl:template match="sup[.=-34]"> subscript </xsl:template> Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] correction:How to do a su, Thomas B. Passin | Thread | RE: [xsl] correction:How to do a su, Dunning, John |
RE: [xsl] construct query string, Michael Kay | Date | RE: [xsl] limiting preceding axis b, Michael Kay |
Month |