Re: removing nil tags from response

2009-06-19 Thread Krishna Gopal Binyala
Hello Jeff, Thanks for reply. The code works fine with small correction . cursor.removeXml() ; cursor.toPrevToken(); // to be added // if the toPrevToken() is not used, it will not remove two consecutive nil elements. // because removeXml() will set the

removing nil tags from response

2009-06-18 Thread Krishna Gopal Binyala
Hello, I am using XMLBeans 2.2.0 for data binding in my web service; i.e. request and response. If for some of the values in my response are null/ nil.. the response tag is coming as Data xsi:nil=true xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance/ i don't want these nil value. the Data

Re: removing nil tags from response

2009-06-18 Thread Jeff Lusted
Hi Krishna! On Thu, 2009-06-18 at 18:15 +0530, Krishna Gopal Binyala wrote: I am using XMLBeans 2.2.0 for data binding in my web service; i.e. request and response. If for some of the values in my response are null/ nil.. the response tag is coming as Data xsi:nil=true

Re: Tags

2008-07-02 Thread Jacob Danner
It doesn't exactly work like that. The xsi:type is there to assert its an elements type, but it does not mean two elements are then equivalent only that they should conform to the type defined by the schema. The element names are the key here. If you are using XMLBeans and you want your FpML

RE: Tags

2008-07-02 Thread Henry Barnett
Subject: Re: Tags It doesn't exactly work like that. The xsi:type is there to assert its an elements type, but it does not mean two elements are then equivalent only that they should conform to the type defined by the schema. The element names are the key here. If you are using XMLBeans and you want

using count() for counting tags with a particular value

2007-07-11 Thread unni_varun
comments. thanks in anticipation Varun -- View this message in context: http://www.nabble.com/using-count%28%29--for-counting-tags-with-a-particular-value-tf4060347.html#a11535550 Sent from the Xml Beans - User mailing list archive at Nabble.com

How do I format empty tags in the old format?

2006-08-15 Thread johnpaul mejorada
the new format of empty tags. Is there an easy way to do what I want, or am I screwed?? Any help would be greatly appreciated. Thanks . JP _ On the road to retirement? Check out MSN Life Events for advice on how to get

Prevent xml-fragment tags being returned from header

2005-10-06 Thread Beagan, Patrick
Newbie question: I am trying to get the value from the header from xml shown below. When I do a : root.getHeader().getName(); I get back xml-fragmentmyname/xml-fragment rather than the desired 'myname'. I wrote a simple string function to strip off the fragment tags but it seems like I