Felix,
Xalan don't support incremental transformations, i.e updating the
target document after modifications in both the source document and
stylesheets. And in my best knowledge, no xslt processor allows it.
However, I know it's possible to implement such processor, just take a look
of my publication on this topic:
http://www.research.ibm.com/people/v/villard/Papiers/incXSLT.pdf
I want to take this opportunity to ask the XSLT/Xalan community how
much you are interested in this specific execution model?
Lionel Villard
IBM T.J Watson
Felix Breuer
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
> cc:
Subject: incremental re-transformation
of changed source document
02/18/2003 11:40
AM
Please respond to
xalan-dev
Hello!
What I would like to have is a XSLT processor that supports the
following mode of operation:
1) given: a source DOM tree.
2) apply XSLT stylesheet to source DOM tree to obtain
a) result DOM tree
b) a mapping, which maps a node in the source tree, to the set of
nodes in the result tree, which have been generated by applying
a template to the given node
3) make XSLT processor listen to mutation events on the source tree
4) whenever a node in the source tree is modified, the processor
a) updates the result tree
b) does so without re-transforming source nodes that have not changed
(and whose transformation-relevant context has not changed)
c) updates the source nodes -> result nodes mapping (from 2b)
In short: What I need is a processor that keeps a source DOM tree and
its image under a given stylesheet in sync.
Would it be possible to implement such a processor on the basis of
Xalan?
Do you know of a processor that allows this mode of operation already or
that would at least allow the implementation of it?
Regards,
Felix
--
Felix Breuer <[EMAIL PROTECTED]>