[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Qualified variable names

Subject: Re: Qualified variable names
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 09 Nov 2008 10:01:12 -0500
Re:  Qualified variable names
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:    http://www.youtube.com/watch?v=PrNjJCh7Ppg
Video course overview:  http://www.youtube.com/watch?v=VTiodiij6gE
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.