xsl-list
[Top] [All Lists]

Re: [xsl] single quotes instead of double

2011-11-21 05:44:14
On 21 November 2011 11:35, Szabo, Patrick (LNG-VIE)
<patrick(_dot_)szabo(_at_)lexisnexis(_dot_)at> wrote:
Hi,

I'm currently working together with external developers and they sent me
a stylesheet that has the following code in it:

<xsl:when test="$mode = 'versionbranch'">
        <xsl:value-of select='$documentid'/>
</xsl:when>

As you can see there are single quotes where normally at least i would
write double quotes.

I'm wondering if that could make any difference in any circumstances.

No but while it's technically legal it's inconsistent with the line
above, and with xslt style in general.

The general rule is - use double quotes.


-- 
Andrew Welch
http://andrewjwelch.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--