Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 76118 invoked from network); 5 Mar 2001 19:55:46 -0000 Received: from rmx441-mta.mail.com (165.251.48.44) by h31.sny.collab.net with SMTP; 5 Mar 2001 19:55:46 -0000 Received: from web625-wrb.mail.com (web625-wrb.mail.com [165.251.33.65]) by rmx441-mta.mail.com (8.9.3/8.9.3) with SMTP id OAA19055; Mon, 5 Mar 2001 14:55:47 -0500 (EST) Message-ID: <380783573.983822147112.JavaMail.root@web625-wrb.mail.com> Date: Mon, 5 Mar 2001 14:55:46 -0500 (EST) From: "Michael P. Wilson" To: general@xml.apache.org, "'general@xml.apache.org'" Subject: RE: A humble plea... Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: mail.com X-Originating-IP: 63.72.28.51 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N You, sir, are my personal hero. ------Original Message------ From: Tim McCune To: "'general@xml.apache.org'" Sent: March 5, 2001 7:42:29 PM GMT Subject: RE: A humble plea... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 import javax.xml.transform.*; import javax.xml.transform.dom.*; import javax.xml.transform.stream.*; TransformerFactory.newInstance().newTransformer().transform(new DOMSource(myDocument), new StreamResult(myOutputStream)); > -----Original Message----- > From: Michael P. Wilson [mailto:mpwilson@earthlink.net] > Sent: Monday, March 05, 2001 12:30 PM > 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 as > a core feature of their book examples (he asks while loading 9mm > hollow-points)? > > That (almost) aside... What's the "right" way to serialize a > DOM object to a > (text) stream? Or do I just have to do the traversal myself. > > TIA, > > - 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 > -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use iQA/AwUBOqPrpdUPOr8a7vy5EQK+MACg70PpWHO9+39Samvn3EL16Hb3YoIAoJ9m TmURQ0d7RFLjN+P6cowfcjzo =Xqtb -----END PGP SIGNATURE----- --------------------------------------------------------------------- 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