[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] xmlns empty string
- From: "Andrew Welch" <andrew.j.welch@gmail.com>
- To: Ran <ran256@gmail.com>
- Date: Tue, 19 Dec 2006 21:40:30 +0000
On 12/19/06, Ran <ran256@gmail.com> 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]