Nat Pryce wrote:
> > > In an XSLT transformation engine,
> > > that's a table-driven rule interpreter.  Etc. etc.
> >
> > what does 'table-driven' mean here?
> 
> Although an XSLT template is an XML document, and could be represented as a
> document tree, XSLT implementations actually parse each template into an
> optimised form that caches information in tables to make template matching
> as fast as possible.

Yes, that's exactly what I do in XSLT4R ;-). I parse the XSLT style and
convert each template into a collection of Proc objects => pure Ruby
code.

Regards,

  Michael

-- 
Michael Neumann
merlin.zwo InfoDesign GmbH
http://www.merlin-zwo.de