[Top] [All Lists]

[xsl] Are XPath expressions parsed using compiler parsing techniques?

2022-05-08 16:19:55
Hi Folks,

I dug out my old compiler "Dragon book" and started rereading it. 

Chapter 1 lists some of the tools that employ compiler techniques. This one 
caught my attention:

Query interpreters: A query interpreter translates a predicate containing 
relational and boolean operators into commands to search a database of records 
satisfying that predicate.

An XPath expression is a query. Not against a database, but against an XML 
document. Are XPath expressions parsed using compiler parsing algorithms? Is a 
syntax tree constructed for an XPath expression? Is the syntax tree traversed?

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>