Re: [xsl] Qualified variable names

Subject: Re: [xsl] Qualified variable names
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Mon, 03 Nov 2008 17:24:29 +0000
>>>>> "JamesXslt" == JamesXslt Smith <jamesxsltsmith@xxxxxxxxx> writes:

    JamesXslt> Hi, Wondering if qualifying variable names in XSLT 2.0
    JamesXslt> is a good idea as in:

    JamesXslt> <xsl:variable name="a:x">...</xsl:variable>

    JamesXslt> where the prefix a is bound to a namespace URI.

If it's a global variable in a module intended for reuse, I would say
that you should certainly do this.
Colin Adams
Preston Lancashire

Current Thread