xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peiyo...@ca.ibm.com
Subject Re: A humble plea...
Date Mon, 05 Mar 2001 20:00:52 GMT


     The much wanted DOM serializer might be defined in the future DOM
but for now, you may refer to DOMPrint, a good sample showing how to
a DOM tree to a stream output.


Peiyong Zhang
XML Parsers Development
IBM Toronto Laboratory email: peiyongz@ca.ibm.com
Phone: (416)448-4088; Fax: (416)448-4414; T/L: 778-4088

"Michael P. Wilson" <mpwilson@earthlink.net> on 03/05/2001 02:29:54 PM

Please respond to general@xml.apache.org

To:   general@xml.apache.org
Subject:  A humble plea...

I throw my self upon the mercy of the forum...

I just picked up the Deitel XML book.  It has a couple cute examples in it
so I figured what the heck.

For serialization of "Document" objects they use an XmlDocument from the
com.sun.xml.tree package.

I've looked everywhere I could think to look.  Inside jaxp, Xerces (just in
case) and some embarrasing last resorts.  Nothing.

Apparently com.sun.xml is from "Sun Microsystem's internal XML API".

So am I looking in the wrong place?  Or is Deitel using undocumented code
a core feature of their book examples (he asks while loading 9mm

That (almost) aside... What's the "right" way to serialize a DOM object to
(text) stream?  Or do I just have to do the traversal myself.


- Mike

Lead me, oh masters, to TFM that I may R it.

In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message