[Home] [By Thread] [By Date] [Recent Entries]

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

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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member