W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2000

RE: adding addressing capabilities to the DOM

From: Aaron Skonnard <aarons@develop.com>
Date: Mon, 24 Apr 2000 09:46:17 -0600
To: "Tyson Chihaya" <Tyson@DataChannel.com>, <www-dom@w3.org>
Message-ID: <NDBBJHEMDDKHIDLCDFAOCEEKCJAA.aarons@develop.com>
> SAX events (I'm really unclear about how a query interface for SAX would
> work--sounds more like a filter than a query), etc.
>

Image passing a location path expression to the SAX processor when calling
parse:

parser.parse("/descendant::invoice/lineitem[@price > 50]");

...and the processor only calls back into your application on the
information items that match the expression. This would greatly simplify
processing at the application level in SAX.

-aaron
Received on Monday, 24 April 2000 11:47:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT