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: Eric van der Vlist <vdv at dyomedea dot com>
- Date: Wed, 25 Oct 2000 19:40:31 +0200
- References: <39F6E8F2.EFD0C53C@bellatlantic.net>
- Reply-To: xsl-list at mulberrytech dot com
"Lyn K. Finman" wrote:
>
> 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>
> sections? For example, I will use FOP to produce documentation in .pdf
> format. Is there a FOP-equivalent that generates 'nice looking' ascii
> text output? Or does someone know of a stylesheet that outputs nicely
> formatted text? I know I could write an application that parses the
> library schema and spits out .c/.h files formatted as I'd like, but
> creating an XSLT stylesheet and using Xalan seemed more
> flexible/modular.
>
Following an intermediate path, you can also write a customized output
handler (it gives you the power of XSLT to transform the information and
the flexibility of Java to do the low level formatting).
As an example, you can have a look at
http://4xt.org/downloads/examples/outputhandlers/formatedtext/
Eric
--
------------------------------------------------------------------------
Eric van der Vlist Dyomedea http://dyomedea.com
http://xmlfr.org http://4xt.org http://ducotede.com
------------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list