Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Rebol & XML

From: bry:itnisk at: 8-Aug-2003 16:05

>Yeah, well the xml: namespace is special. It is implied. Though,
>is acually a formal namespace URI for the xml namespace, so it *is* >possible for it to be declared in an XML file.
Right, hence I noted it need not be declared, not that it is never declared ;)
> The xml namespace is only >used for xml:lang and xml:space though. It is illegal for people to
>this namespace other than for xml:lang and xml:space.
Well it's reserved, so later versions may have more in that namespace.
>it would be bad to write a path like xml/a:a/b:b >because the prefixes a: and b: are only present in one of the several >ways to encode the same XML above.
Hence the need to bind a namespace declaration to a namespace prefix, also the need to differentiate between name() and local-name() in xpath or nodeName and baseName in DOM.