Subject: Re: [xsl] Copying all comments [xsltproc 1.0] From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 05 Oct 2010 09:32:13 +0100 |
Hello again,An xslt stylesheet has to be well formed, you are using " around the attribute value so you have to quote any " appearing in the attribute.
And what about displaying the value of @id of<query id="Q1"> before it.
<xsl:value-of select="substring(., 13,substring-before(.,'"'))"/><xsl:text>.	</xsl:text> is incorrect <xsl:value-of select="substring(., 13,substring-before(.,'"'))"/><xsl:text>.	</xsl:text>
not sure what you mean by that comment
and <xsl:value-of select="substring(., 13,1))"/><xsl:text>.	</xsl:text> will not help as the no (Q1) can exceed to two digit (10-99) to three digit.Not
I think it's useless to use right double quote unicode value here.
<xsl:value-of select= "substring-before(substring-after(.,'"'),'"')" />
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Copying all comments [xsl, pankaj . c | Thread | Re: [xsl] Copying all comments [xsl, pankaj . c |
Re: [xsl] Copying all comments [xsl, pankaj . c | Date | Re: [xsl] Copying all comments [xsl, pankaj . c |
Month |