Hi all,

I have a question about Sablotron's internals (I must admit, I am not very
familiar with them).

Does Sablotron use a DOM-compliant tree to perform XSLT processing, or does
it use a SAX-based processing internally?

The reason for my question is the following:
I intend using Sablotron inside a larger framework for XML processing. Due
to the nature of the framework, it is very likely that I will already have a
DOM-level-1-compliant tree in memory when wanting to apply XSLT
transformation. Currently I would have to convert that tree back to a flat
string to feed it into Sablotron, which in turn parses the string to buid a
memory representation to apply the transformation to it. Quite inefficient,
insn't it?
Is there a way of inserting an already parsed document into Sablotron in
some place and in which form, if it is possible?
I couldn't find anything in the Perl documentation, is there a way using
C++?

Does anybody else have (successfully???) tried something similar?

Thanks in advance!

Wolfgang


Reply via email to