Le samedi, 18 jan 2003, � 22:33 Europe/Berlin, Paul Libbrecht a �crit :
Unfortunately, it does not work. Even the following outputs nothing: <x:parse var="blop"><a><b></b></a></x:parse> <x:copyOf select="$blop/*"/>
Real apologies.
It does output. It was all a question of updating the whole shebang (maven and jelly... and go along the tag libraries...).
And James' suggestion was working. Something similar to:
<x:parse var="doc">
<root>
<j:forEach var="file" items="${fileList.iterator()}">
<log:info>Going around ${file.toURL()}</log:info>
<aFileContainer href="${file.toURL().toExternalForm()}">
<j:include uri="${file.toURL().toExternalForm()}"/>
</aFileContainer >
</j:forEach>
</root >
</x:parse>
Performs well at merging documents and applyin my transformation on the merge.<x:transform xslt="foo.xsl"> <!-- stream the result nodes as SAX events into XSLT --> <x:copyOf select="$doc"/> </x:transform>
I encountered two issues there:
-> how to know the script-file-name, is it a variable ?
-> the (currently used in jelly's maven-imported) DOM4j outputter is broken, it forgets the namespace declarations closing-quote.
Paul
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
