Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 58692 invoked from network); 5 Mar 2001 19:43:16 -0000 Received: from talisker.channelpoint.com (208.226.244.33) by h31.sny.collab.net with SMTP; 5 Mar 2001 19:43:16 -0000 Received: from cpex1.channelpoint.com (cpex1.channelpoint.com [10.112.2.7]) by talisker.channelpoint.com (8.11.0/8.11.0) with ESMTP id f25JgTE02926 for ; Mon, 5 Mar 2001 12:42:29 -0700 (MST) Received: by cpex1.channelpoint.com with Internet Mail Service (5.5.2650.21) id ; Mon, 5 Mar 2001 12:40:17 -0700 Message-ID: From: Tim McCune To: "'general@xml.apache.org'" Subject: RE: A humble plea... Date: Mon, 5 Mar 2001 12:42:29 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Scanned-By: MIMEDefang 0.7 (http://www.roaringpenguin.com/mimedefang/) X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N -----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-----