Re: [xsl] Qualified variable names

Subject: Re: [xsl] Qualified variable names
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 09 Nov 2008 10:01:12 -0500
At 2008-11-09 15:34 +0100, Florent Georges wrote:
"G. Ken Holman" wrote:

> I often have two namespaces for each library:  a public one
> (declaring global constructs users of the black box are allowed
> to override) and a private one (declaring global constructs users
> of the black box are not allowed to override).

  I also use this technique.  I wonder what naming scheme people here
use for the private namespace URI.  Personally, over the time I use(d)
three different kinds of naming schemes:

where "some-stylesheet.xsl" can have more levels, reflecting the
project structure:

  Sometimes, I just use the same URI within all the stylesheets in the
project (mostly for small projects.)

Does someone use something else, or have any comments on those above?

When it is a namespace of a vocabulary I've made public, I use HTML documents at the URI of the URL:

... which eventually will be XHTML with RDDL but I never get the time to go back and fix these up.

When it is a private or temporary namespace, I use a URN:


Per the recommendation I do not use a URI construed as a relative URI as that practice is deprecated:

I hope this helps.

. . . . . . . . . . . Ken

Upcoming XSLT/XSL-FO hands-on courses:      Wellington, NZ 2009-01
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video sample lesson:
Video course overview:
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.
Male Cancer Awareness Nov'07
Legal business disclaimers:

Current Thread