read the tag name text

2008-11-17 Thread Qureshi,Shahzad [Ontario]
Hi all, I've xml similar to the following 123 123 I want to be able to read the text "temperature" or "precipitation". I can do elements.getElementsArray() and that gives me an array size of 2 and then I can get my value by s

Re: Which ORM and XML binding

2008-11-17 Thread Gustavo Aquino
Hi, The interceptor is the right way to do this. some people have different implementation about this, but this is the only way that i got success. On Mon, Nov 17, 2008 at 10:36 PM, pattabi < [EMAIL PROTECTED]> wrote: > > Hi, > > I am new to XmlBeans and I am using XmlBeans to invoke web serv

Re: Which ORM and XML binding

2008-11-17 Thread pattabi
Hi, I am new to XmlBeans and I am using XmlBeans to invoke web services. I have VO objects that implement the interfaces generated by the XmlBeans and want to copy values from VO to the XmlBean using BeanUtils but am not able to do it. I am using JDBCTemplate of Spring to build the VO. I cannot

RE: XMLBeans : How can I get a value and not an xml fragment?

2008-11-17 Thread Radu Preotiuc-Pietro
The correct way to do it would be: if (xo instanceof XmlAnySimpleType) return ((XmlAnySimpleType) xo).getStringValue(); Radu > -Original Message- > From: Siegfried Baiz [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 16, 2008 6:08 AM > To: user@xmlbeans.apache.org > Subject: Re: