Thanks Michael.
The "ContentHandler" is a DOM4J DocumentResult object in my case.
Quote:
|
quote:This will only happen if you don't serialize the output directly.
|
I didn't understand that, sorry.
Quote:
|
quote:It's best not to use d-o-e unless you are serializing the output (actually, it's best not to use it at all).
|
In my understanding, using d-o-e breaks the rule that the XSL transformer should be able to produce the result tree in one pass. A second pass will be necessary.
Nevertheless, it's obvious that I need to integrate the <script> tags into the document, at any rate...
Are common techniques to accomplish that?