Hi,
I'd like to save a XMLBean with the declaration and encoding and read it
back (using parse?).
The method xmlText just saves a xmlfragment with no declaration so later
when I try to read it back with parse it fails.
Is there any code example for this?
thx,
Dário
--
Dário Abdulrehman
PGP
Try the save(file) method on the xmlobject.
-jacobd
On Thu, Feb 21, 2008 at 7:07 AM, Dário Abdulrehman
[EMAIL PROTECTED] wrote:
Hi,
I'd like to save a XMLBean with the declaration and encoding and read it
back (using parse?).
The method xmlText just saves a xmlfragment with no declaration
Problem solved, thanks.
I noticed that when using save with a StringWriter the XML declaration is
not written whereas if I use a File it is.
On Thu, Feb 21, 2008 at 3:33 PM, Jacob Danner [EMAIL PROTECTED]
wrote:
Try the save(file) method on the xmlobject.
-jacobd
On Thu, Feb 21, 2008 at
3 matches
Mail list logo