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 cu
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
>
> xmlns:xsi="http://www.w3.org
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
http://www.w3.org/2001/XMLSchema-instance"/>
i don't want these nil value. the "Data" element is defined as
Hello Everyone,
I am having a problem regarding handling of empty tags, when i serialize the
xml file using xmlbeans:
Example:
Before serialization with XMLBeans:
After serilalization of the file with XMLBeans:
Is there any way that i can control handling of empty tags, i.e whether to
close
they already are.
Could you tell me if it is ok by xmlbeans standard that they have to use the
first of the two?
Regards,
Henry
-Original Message-
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: 02 July 2008 16:53
To: user@xmlbeans.apache.org
Subject: Re: Tags
It doesn't exactly
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 docum
Hi,
I'm working with FpML and I'm not very knowledgeable about xml when it comes
to standards and what is allowed and was hoping if you guy could answer a
quick question I have.
I have a message as follows
...
Which fails validation because xmlbeans expects
...
Is the first instance valid co
bble.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.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
, i need the output as 5 because ABC appears 5 times.
Please give ur 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
Hi. I am new to XMLBeans and was wondering if anyone knew how I can save an
XMLBean document so that the empty elements are in the old format:
instead of:
The reason I ask is that Im trying to pass data into a parser of a legacy
system, and it does not like the new format of empty tags
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 myname rather than the desired
'myname'. I wrote a simple string function to strip off the fragment
tags but it seems like I shouldn't have
11 matches
Mail list logo