[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Namespace prefixes
- From: Tom Bradford <firstname.lastname@example.org>
- To: ReemaD@riskinc.com
- Date: Wed, 08 Aug 2001 23:54:55 -0700
> I have some doubts on using prefixes in Namespaces.From the following
> mentioned site
> I found out that prefixes are not significant. But it doesn't work out in
> my application when i replace xsl prefix with any arbitrary name like abc.
> So i am confused whether xsl prefix has any significance or not. If anybody
> has tried this then please help me out.
Prefixes are insignificant as far as the tools that you use to process a
document are concerned. They don't care what the prefix is, only what
the namespace URI is. But, within the document itself, the prefix is a
shorthand for associating the namespace URI with an element or
attribute, so if you change the prefix that's associated with the
namespace URI, you need to change it everywhere for that context. So it
doesn't matter what prefix you use, although it is common to use a
well-known prefix for clarity.
Tom Bradford --- The dbXML Project --- http://www.dbxml.org/
We store your XML data a hell of a lot better than /dev/null