Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 10397 invoked from network); 10 Jan 2000 17:38:04 -0000 Received: from lotus2.lotus.com (192.233.136.8) by 63.211.145.10 with SMTP; 10 Jan 2000 17:38:04 -0000 Received: from internet2.lotus.com (internet2 [9.95.4.236]) by lotus2.lotus.com (8.9.3/8.9.3) with ESMTP id MAA09462 for ; Mon, 10 Jan 2000 12:51:19 -0500 (EST) Received: from a3mail.lotus.com (A3MAIL.lotus.com [9.95.5.66]) by internet2.lotus.com (8.9.3/8.9.3) with ESMTP id MAA05057 for ; Mon, 10 Jan 2000 12:34:39 -0500 (EST) Subject: Re: Formatting XML and XSL output ? To: general@xml.apache.org Cc: "Paul Dick/CAM/Lotus" X-Mailer: Lotus Notes Release 5.0 March 30, 1999 From: "Scott Boag/CAM/Lotus" Date: Mon, 10 Jan 2000 12:35:20 -0500 Message-ID: X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Release 5.0.2b |December 16, 1999) at 01/10/2000 12:37:02 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii > I did. I forgot to mention it, but there IS a line on top of my xslsheets > that says . That doesn't seem to > have any effect though. Strange, I haven't heard any bugs reported on this. Paul, do we have a regression test for this? > What about the Serializer classes you mention ? Assaf is writing them as part of the xml-xerces project. There is a property on the StylesheetRoot class, m_useXercesSerializers, that lets you use the xerces serializers. But I haven't tested this since Assaf made his last revisions, and I have a feeling that it won't work quite right yet (due to some calling issues). > An > example in the distribution would be nice (there ain't much in terms of > examples so far) ... Yep. It's all a work in progress. We're doing the best we can. Contributions are welcome. BTW, this should probably be moved to the xalan list. -scott "Georg Seipler" lingen.de> cc: (bcc: Scott Boag/CAM/Lotus) Subject: Re: Formatting XML and XSL output ? 01/10/00 11:19 AM Please respond to general Hi Scott ... > Thanks, yep, the fact that it isn't there is an oversight. However, I > don't want to put too much effort into FormatterToXML, etc., as they will > be replaced by Assaf's Serializer classes. > BTW, you should use to control indenting... it's > really normally the stylesheet that should control indenting. There is no > way in xslt to control the indent amount though. I did. I forgot to mention it, but there IS a line on top of my xslsheets that says . That doesn't seem to have any effect though. No indenting at all. The indent amount per se is no problem since the field is public (not very elegant, but possible), but there is NO indenting no matter what value in that field. Only by deriving a new Formatter class (as described) I get a readable output. What about the Serializer classes you mention ? I belive I saw them mentioned elsewhere in the Mailinglist archive but they tell me nothing. What is the preferred way to output the transformed DOM (XML or HTML) ? An example in the distribution would be nice (there ain't much in terms of examples so far) ... Greetings, Georg Seipler (geseit01@fht-esslingen.de)