Re: How to get the namespace from an OMElement when prefix is known.

2011-01-04 Thread Amila Suriarachchi
On Wed, Jan 5, 2011 at 3:57 AM, Andreas Veithen wrote: > On Tue, Jan 4, 2011 at 09:53, Amila Suriarachchi > wrote: > > hi, > > > > In order to add the inheritance support to POJO we need to find the Qname > > from the string getting from the xsi:type. > > > > here is an example > > > > String xml

Re: How to get the namespace from an OMElement when prefix is known.

2011-01-04 Thread Andreas Veithen
On Tue, Jan 4, 2011 at 09:53, Amila Suriarachchi wrote: > hi, > > In order to add the inheritance support to POJO we need to find the Qname > from the string getting from the xsi:type. > > here is an example > > String xmlString = " xmlns:ns2=\"http://service.test.apache.org\";>\n" + >    

How to get the namespace from an OMElement when prefix is known.

2011-01-04 Thread Amila Suriarachchi
hi, In order to add the inheritance support to POJO we need to find the Qname from the string getting from the xsi:type. here is an example String xmlString = "http://service.test.apache.org\";>\n" + "http://pojo.service.test.apache.org/xsd\"; xmlns:xsi=\" http://www.