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

RE: Mozilla Support for XSL XSLT? Yes, please!

Subject: RE: Mozilla Support for XSL XSLT? Yes, please!
From: "Didier PH Martin" <martind@xxxxxxxxxxxxx>
Date: Thu, 16 Dec 1999 11:06:48 -0500
mozilla xsl support
HI Dan,

Dan said:
Regardless, yeah, I hope to have a fairly solid implementation by May
2000, when I graduate. I'm keeping a site for the progress of the project,
at:

  http://www.cs.brown.edu/people/dr/xml/

There's not much there right now related to the XSLT stuff, since I've
been mostly working on a never-to-be-finished paper, but I'll keep the
list posted when something cool happens.

Didier reply:
Happy to see a fellow C++ programmer (I heard that we are an endangered
specie :-))

So if you want to integrate your XSLT engine in Mozilla then you'll probably
sit the engine on the Mozilla DOM engine, will you?

What kind of algorithm are you using?

In the OpenJade project we came to this algorithm. (by the way, are you
interested to be part of OpenJade tech discussions, there is small bunch of
C++ high flyers there ;-), please let me know if this is interesting to
you).

Algorithm:
a) the original document is parsed and it is transformed into an internal
structure (i.e. a grove) the internal structure is accessed now with a
custom interface, but we are in the process to provide a DOM interface (in
XPCOM) and a C++ Grove interface (we work with others to make it a
standard).
c) Then we parse the style sheet and for each template, we extract the
node-list (i.e. node set) from the document grove. We continue to parse the
template's content and the interpreter tries to match some keywords
pertinent to the style language (in the case of xsl it is any keyword part
of the xsl name space). When we get a match and that the context is ok then
the keyword (which is, in fact, a small procedure) fires an action like,
most of time extract information from the document grove.

this is the easy way to do it. Have you thought of some optimizations that
may improve the process?

Cheers
Didier PH Martin
mailto:martind@xxxxxxxxxxxxx
http://www.netfolder.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.