Subject: Re: [xsl] single quotes instead of double From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 21 Nov 2011 13:13:33 +0000 |
you don't need a variable but you do need concat (or similar) as you can't have a string literal contain both ' and " in xpath 1 (you can in xpath 2, using the '' quoting mechanism)There are situations like below where I was not able to handle quot/apos nesting without defining a variable for XSLT 1.0. Not sure if this can be done without a variable ...
<xsl:variable name="apos" select='"'"'/>
<xsl:variable name="tab-07FF" select="concat( '࿿࿿࿿࿿࿿࿿࿿࿿࿿	', '
࿿࿿
࿿࿿࿿࿿࿿࿿', '࿿࿿࿿࿿࿿࿿࿿࿿࿿࿿', '࿿࿿ !"#$%&',$apos, '()*+,-./01', '23456789:;', ... '߲߮߯߰߱߳ߴߵ߶߷', '߸߹ߺ߻߼߽߾߿' )"/>
-- google plus: https:/profiles.google.com/d.p.carlisle
________________________________________________________________________ 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] single quotes instead of , Hermann Stamm-Wilbra | Thread | Re: [xsl] single quotes instead of , Hermann Stamm-Wilbra |
Re: [xsl] single quotes instead of , G. Ken Holman | Date | Re: [xsl] single quotes instead of , Andrew Welch |
Month |