Re: An XSL SAX?

Subject: Re: An XSL SAX?
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Sun, 13 Dec 1998 19:15:42 -0500 (EST)
[Andy Dent]
> ie: I need an event stream that says something like (ignore the syntax,
> this is conceptual only):
> start document
> start font centred Helvetica Bold 18
> text 'Andy Example'
> end font
> start table 4 cols
> ...

Event-stream-based formatting is very difficult to work with.  This is
the model that FrameMaker uses for formatting within paragraphs, and
transforming between that model and a container-based model is very
difficult without side-effects (which XSL eschews).  The event model
also means that you have to have the entire document up to the current
point in order to correctly understand the formatting of the current
object; with containerized formatting, you need less context (in most
cases, but you know when you have an exception).

This is not to say that the model is invalid for some uses; just that
if you need such a model, go ahead and use it, but I don't think it's
a good one to standardize.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


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


Current Thread
  • An XSL SAX?
    • Andy Dent - Thu, 10 Dec 1998 16:00:47 +0800
      • Paul Prescod - Sat, 12 Dec 1998 15:46:56 -0600
        • Andy Dent - Tue, 15 Dec 1998 15:39:35 +0800
      • Chris Maden - Sun, 13 Dec 1998 19:15:42 -0500 (EST) <=
        • Andy Dent - Tue, 15 Dec 1998 15:47:44 +0800
      • <Possible follow-ups>
      • James Tauber - Fri, 11 Dec 1998 22:44:16 +0800
        • Andy Dent - Sat, 12 Dec 1998 06:27:52 +0800