Re: [xsl] XSLT processor

Subject: Re: [xsl] XSLT processor
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Wed, 04 Jun 2003 12:42:54 +0200
Fatih TURKMEN wrote:

What an XSLT processor do?
It transforms XML documents.

Does XSLT processor use XML parser to parse XSL
statements?
I mean I think there are two scenarios for XSL
statements processing:
1)XSLT processors have their own parser to parse
statements
2)They use XML parsers to parse XSL stataments and
then walk on the DOM tree generated by the XML parser
to find the XSL expressions.Process these expressions
and modify this tree according to this statements
Come on, XSLT is XML so who needs proprietary XML parser nowadays?

Am I right? If someone can explain what XSLT exactly
does, I would be grateful
The best resource to find out what program does is sources. Take a look at Saxon's, Xalan's, .NET XslTransform's etc source codes.
Also read famous "Saxon: Anatomy of an XSLT processor" by Michael Kay
http://www-106.ibm.com/developerworks/library/x-xslt2/?dwzone=x?open&l=132,t=gr,p=saxon


And lastly, what kind of tree(or any other data
structure) is used by XPath to store XML nodes?
Depends on implemenatation, but the conceptual data model is described in XPath spec: http://www.w3.org/TR/xpath#data-model.

--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel


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



Current Thread