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

Re: p:wrap-sequence

From: Innovimax SARL <innovimax@gmail.com>
Date: Mon, 25 Jun 2007 20:21:02 +0200
Message-ID: <546c6c1c0706251121j43cbd5d4u7d78cc6d7d9659ab@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org

Good question

If we say that wrapper is a QName

So, if I give only an NCName, are we going to bound it to the current
namespace ?

<p:wrap-sequence xmlns="http://myfunky.web.site.com/ns">
  <p:option name="wrapper" value="funky-wrapper"/>
</p:wrap-sequence>

<funky-wrapper xmlns="http://myfunky.web.site.com/ns">
  <doc />
  <doc />
  <doc />
  <doc />
</funky-wrapper>

It would stay consistent with

<p:wrap-sequence xmlns:my="http://myfunky.web.site.com/ns">
  <p:option name="wrapper" value="my:funky-wrapper"/>
</p:wrap-sequence>

<my:funky-wrapper xmlns:my="http://myfunky.web.site.com/ns">
  <doc />
  <doc />
  <doc />
  <doc />
</my:funky-wrapper>


I thing that your question falls into the broader question of handling
namespaces for QNames

Mohamed


On 6/25/07, Norman Walsh <ndw@nwalsh.com> wrote:
> How do I specify a wrapper element in a particular namespace?
>
>                                         Be seeing you,
>                                           norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | We ought not to heap reproaches on old
> http://nwalsh.com/            | age, seeing that we all hope to reach
>                               | it.-- Bion
>
>


-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Monday, 25 June 2007 18:21:06 GMT

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