If we have a page called content.xml with the following PI:

<?cocoon-process type="xsp"?>
<?xml-logicsheet href="funktionalitet.xsl"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="xsltlayout.xsl" type="text/xsl"?>

The first thing that happens is that the page gets parsed to a DOM-tree that
is then modified. I was wondering if this DOM-tree is modified until it gets
serialized as HTML in the end. Or is this DOM-tree serialized and then
parsed between each step in the pipeline?

If anyone do not know the answer to such a question - how do I find out? On
Cocoons website the information is not so much low-level - wich I think is
fine but if I would like to go deeper is the SourceSode then the only way?
If the documents gets serialized and parsed between each steps in a
pipeline - then it would probably run much faster if it re-used the DOM-tree
instead, and this would be a way to optimize Cocoon.

I am using Cocoon 1.8.2 - I know Cocoon 2 uses SAX - but are they designed
the same way regarding reuse of object tree?

Thanks for any help in advance
/Bjarne



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to