[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Formatting text output handler [WAS : Re: Formating to t

Subject: Re: Formatting text output handler [WAS : Re: Formating to text]
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Thu, 30 Mar 2000 19:28:03 +0200
formating text in xhtml
The text output handler I have implemented (see
http://www.mulberrytech.com/xsl/xsl-list/archive/msg10315.html) is doing
the same kind of things with 2 differences :

1) I am using XHTML compatible elements (<p>, <ul>, <li>, <pre>).
2) The transformation is done as a output method of the XT XSLT
processor meaning that you don't need to go through a temporary file
since the output method is directly fed with SAX event.

So, it's indeed the same approach :=)

Thanks

Eric

Louis-Dominique Dubeau wrote:
> 
> Eric van der Vlist <vdv@xxxxxxxxxxxx> writes:
> 
> > [1  <text/plain; us-ascii (7bit)>]
> > For those who have followed this thread and are interested by the
> > riddle, the transformation can be done by the attached stylesheet.
> >
> > Now, this is so verbose and slow that I wonder if writing a formatting
> > text output handler wouldn't really be the best solution.
> 
> My approach to this problem is usually to have a stylesheet output
> minimal formating information.  Eg: everything is on one line and
> contains the following tags:
> 
> <nl/>: newline
> <inc/>: increment indent
> <dec/>: decrement indent
> 
> Then a script (in Perl, Python or whatever language you like) converts
> those into something suitable.
> 
> That's how I turn my resume, which lives as an XML document, into
> ASCII (ok, I also use fmt and recode for part of the conversion).
> 
>         Regards,
>         ldd
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
------------------------------------------------------------------------
Eric van der Vlist                                             Dyomedea
http://xmlfr.org         http://ducotede.com        http://dyomedea.com
------------------------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.