Maybe you should use the class XmlSerializer instead of the DOMWriter one. It
does what you want.

Sebastien

Craig Tataryn wrote:

> Hi there, I'm new to the group and new to Xerces.  Previously I was
> using the old Sun xml parser (I believe) and one of the key features I
> relied on was the toString() method that their version of NodeImpl
> implemented.  If you called it, it would pass you back a string
> containing the XML for the node and all it's child nodes.
>
> I noticed that Xerces does not support the toString() method in this
> manner.  I did however find out about the DOMWriter support class.  This
> is all well and good, but the environment I am in only has the
> xerxes.jar file on the class path, not the samples.  I could strip the
> classes out and include them with my application, but then I would have
> to do this for all my apps.
>
> I guess my question is:  Will the DOMWriter be included in future builds
> of the general Xerxes.jar file?  And further to this, will NodeImpl use
> the DOMWriter to return a string implemention in it's toString() method?
>
> Thanks,
>
> <tataryn:craig>
>
> --
> I've been trying to change the world for years, but they just won't give
> me the source code....
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to