I m looking for the same solution as well, best i can do now is to put empty
string for null records.
Let me know if you found anything.
Thanks,
ran

On 1/8/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

 I am creating a new XmlObject from the factory method. I'm adding the
appropriate objects throughout the document but some of the elements are
defined as optional per the schema. When I am done composing the document
and I save/parse the document the optional elements are place into the
document as follows:
<ContactInformation xsi:nil="true" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"/<http://www.w3.org/2001/XMLSchema-instance%22/>
>

How do I eliminate these elements from appearing in the document?

Thanks....

Chris Mathrusse
[EMAIL PROTECTED]
(925) 236-5553

--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]

Reply via email to