W3C home > Mailing lists > Public > www-ql@w3.org > October to December 2004

default namespace in constructed element

From: Leonid Novak <novak@ispras.ru>
Date: Tue, 21 Dec 2004 12:06:28 +0300
To: <www-ql@w3.org>
Message-ID: <EGEAIELDAOKBEENNFECGIEOFCCAA.novak@ispras.ru>

Consider, we have the document a.xml: <?xml version="1.0"?><a/>

and the following expression:

<b xmlns="www.xyz.com">{doc("a.xml")//a}</b>

I'm puzzled about the result of the expression: i.e should the default
namespace declaration change the URI of  the insereted element from document
"a.xml" or not?

Regards, Leonid Novak
www.modis.ispras.ru
Received on Tuesday, 21 December 2004 09:07:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:20 GMT