Subject: Re: [xsl] What to use instead of xsl:value-of From: Michael Ludwig <mlu@xxxxxxxxxxxxx> Date: Tue, 06 May 2008 10:04:07 +0200 |
[...] the problem is that <xsl:value-of> does not give the correct output for child elements/entities ([#x002d], missing <citationref> element etc) of <endnote>.
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="endnote/text()[ 1 ]"> <xsl:value-of select="substring-before( . , ' ')"/> <xsl:text>	</xsl:text> <xsl:value-of select="substring-after( . , ' ')"/> </xsl:template> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:transform>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] What to use instead of xs, Pankaj Chaturvedi | Thread | Re: [xsl] What to use instead of xs, Michael Ludwig |
RE: [xsl] What to use instead of xs, Michael Kay | Date | RE: [xsl] What to use instead of xs, Pankaj Chaturvedi |
Month |