Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: [xml-dev] xmlns empty string


  • From: "Andrew Welch" <andrew.j.welch@...>
  • To: Ran <ran256@...>
  • Date: Tue, 19 Dec 2006 21:40:30 +0000

On 12/19/06, Ran <ran256@...> 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords