W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > September 2007

Re: Speaking of in-scope namespaces...

From: Alessandro Vernet <avernet@orbeon.com>
Date: Fri, 7 Sep 2007 15:04:09 -0700
Message-ID: <4828ceec0709071504h71fa9564rf8ede4d12ac2013@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

On 9/7/07, Norman Walsh <ndw@nwalsh.com> wrote:
> I think it'd be:
>
> <content xmlns="nonsuri" xmlns:a="nsauri" xmlns:b="nsburi"
> xmlns:c="nscuri" xmlns:p="http://www.w3.org/ns/xproc"/>
>
> I don't think the xxx namespace decl. is in scope.

Right. And I would expect XSLT to do something similar when you write:

<xsl:variable as="element(doc)" name="v">
    <doc xmlns="nonsuri" xmlns:a="nsauri" xmlns:b="nsburi" xmlns:c="nscuri">
        <content/>
    </doc>
</xsl:variable>

<xsl:copy-of xmlns:xxx="nonsuri" select="$v/xxx:content"/>

Alex
-- 
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/
Received on Friday, 7 September 2007 22:04:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT