|
You
can use XmlOptions.setSaveInner() to tell XmlBeans to save just the content of
an element, but there is nothing to further control which one of the open/close
tags gets generated, that would be too far from well-formed
XML....
Radu
-----Original Message-----
From: Slusser, Ted [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 10:11 AM To: [email protected] Subject: Writing out a large document in fragments Hello, I’d like to read data from some
source and write out a single large XML document. I want to write out the
elements as they are being processed. The problem I am running into is
that I have to write the root elements “by-hand” and then write the XmlObject
using the xmlText to convert it to a string. When writing the root element
I have to hard-code the namespaces, etc. Is there some way to tell XML
beans that I want to write an opening tag of a document but not the closing
tag? Thanks, Ted
Slusser The information in this electronic mail message is Cendant Confidential and
may be legally privileged. It is intended solely for the addressee(s). Access to
this Internet electronic mail message by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any action
taken or omitted to be taken in reliance on it is prohibited and may be
unlawful. |
Title: Message
- Writing out a large document in fragments Slusser, Ted
- RE: Writing out a large document in fragments Radu Preotiuc-Pietro
- RE: Writing out a large document in fragments Slusser, Ted

