Re: p:wrap-sequence

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 UTC