What happens when you don’t set the
value to null?
Also you may what to check out the schema
for the element to see if the value is required,
From: Peter Luttrell
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 06, 2005
9:08 AM
To: [email protected]
Subject: Nulls?
Is there any way to get xmlbeans go not generate an
elements' attribute when it's field value is set to null?
For
example, if I execute the following code:
whateverElement.setWhateverField( null );
xmlbeans
generates this xml attribute:
WhateverField=""
I'd
much rather have it generate nothing.
-peter
--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]
|