This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSLT text output - better formatting possible?
- To: xsl-list at mulberrytech dot com
- Subject: RE: XSLT text output - better formatting possible?
- From: James Robertson <jamesr at steptwo dot com dot au>
- Date: Thu, 26 Oct 2000 13:48:36 +1000
- Reply-To: xsl-list at mulberrytech dot com
At 03:03 26/10/2000, Weakliem, Gordon wrote:
>Or since the output is C++ code, you could just pipe the output through a
>pretty priter (with no additional markup), there's lots of free ones
>available, one that comes to mind is GNU indent. Seems like the effort
>required to get the XSLT processor to give nice output would be orders of
>magnitude more than just applying an external program.
>
> > -----Original Message-----
> > From: Sebastian Rahtz
> > [mailto:sebastian.rahtz@computing-services.oxford.ac.uk]
> > Sent: Wednesday, October 25, 2000 9:27 AM
> > To: xsl-list@mulberrytech.com
> > Subject: Re: XSLT text output - better formatting possible?
> >
> >
> > Lyn K. Finman writes:
> > > QUESTION: is there a better way to generate basic text
> > files from XML
> > > than specifying "text" output from XSLT and liberal use of
> > <xsl:text>
> >
> > How about using "text" output, and interspersing troff markup in it,
> > and running the result through groff, which would make fine ASCII
> > output?
Alternatively, you might want to explore using Omnimark instead
of XSLT. This has quite a few features related to text formatting
(including line-wrapping), and will give you absolute control over
how every character is written out ...
J
-------------------------
James Robertson
Step Two Designs Pty Ltd
SGML, XML & HTML Consultancy
Illumination: an out-of-the-box Intranet solution
http://www.steptwo.com.au/
jamesr@steptwo.com.au
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list