Re: Streaming ITS processor

Asgeir Frimannsson wrote:

> I guess this is one of the areas where you have a gut feeling that something 
> could be done better, but have no implementations to justify that claim :) 
> Some of the main drawbacks with ITS at the moment are:
> - Having to load the instance document into memory for processing
> - Having to traverse the in-memory DOM for each rule, as most xpath processors 
> take one expression and returns a node set.

Please note that as long as you stick to XPath patterns (not full 
expressions) you can use internal pattern matching API of XSLT processor 
which is optimized for this task and gives much better performance then 
naive evaluating of each XPath against document tree.

-- 
------------------------------------------------------------------
   Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
        Professional XML consulting and training services
   DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
  OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Received on Monday, 16 June 2008 08:40:50 UTC