Updated: Sparse (JavaScript based XSL processor)

Subject: Updated: Sparse (JavaScript based XSL processor)
From: "Jeremie Miller" <jeremie@xxxxxxxxxx>
Date: Sat, 28 Feb 1998 13:33:57 -0600
I just posted another update to my XSL parser that's written in
JavaScript(so it should work anywhere JavaScript does).  You can test it out
at:
http://www.jeremie.com/Dev/XSL/

A word of warning though, it's still very early in development!  I'm nearly
done with the most difficult parts of the XSL proposal, but many of the
features are missing yet.  As it stands right now, it processes sets of
rules and the patterns and actions contained within.  In respect to the
patterns, it supports matching the ancestry, descendants, attributes, and
wildcards(but not the <any/> tag yet).  In respect to actions, it simply
folds all of the flow objects into proper HTML and applies the
attributes/style correctly.  It only supports <children/> and doesn't do the
reordering or <select/> stuff yet, but it shouldn't be to hard to add now
that patterns work.

It looks like the final product will be less than 10k of JavaScript, but the
logic of the code is very difficult to follow, _especially_ when looking at
the pattern matching functions.

With a couple more hours stuck into it, it will actually be a usable
cross-platform client-side XSL processor, and I intend on fully supporting
all parts of the proposal(except for the available JavaScript functions, it
doesn't define them but I'll add what I can).

Comments/Ideas/Thoughts welcome!

Jeremie Miller
jer@xxxxxxxxxxx
http://www.jeremie.com/



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


Current Thread