On 12/19/06, Ran <> wrote:
> Hi,
>
> I have the following schema instance and the xmlns on contact nodes are
> empty strings.
> I use xmlbeans for databinding in Axis2. and would like to not use any ns on
> contact.
>
> How do I manupulate xmlns in my schema (or using xbean api) for contact node
> to get rid of xmlns="" ?
>
> <Contacts xmlns="www.example.com">
> <Contact xmlns="" id="3" name="abc2" />
> <Contact xmlns="" id="4" name="abc3" />
> <Contact xmlns="" id="5" name="abc4" />
> ....
> </Contacts>
Put the <Contact> elements in the "www.example.com" namespace -
currently they are in no namespace, hence the xmlns=""
cheers
andrew