RE: [xsl] Re:XPathAPI: How to associate namespaces

Subject: RE: [xsl] Re:XPathAPI: How to associate namespaces
From: "Conal Tuohy" <conalt@xxxxxxxxxxxxxxx>
Date: Wed, 7 May 2003 23:34:05 +1200
Torsten Schlabach asked:

> Is there any rule stating that a certain namespace URI (i.e.
> http://www.w3.org/1999/xhtml has to use a specific prefix
> i.e. xhtml)? Are namespace URIs sort
> of "free form" anyway or where can I find the rules how to for example
> construct my own namespace. There should be a way to avoid
> conflicting prefixes,
> shouldn't it?

Namespaces prefixes are purely aliases for the namespace URIs, which are the
REAL names of these namespaces. You can associate the prefix xhtml with the
namespace URI "http://www.w3.org/1999/xhtml"; if you want, but you could
choose any other prefix.

Con


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread