commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: [jelly] value-of ??
Date Sun, 19 Jan 2003 01:03:44 GMT
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>
> <x:transform xslt="foo.xsl">
>   <!-- stream the result nodes as SAX events into XSLT -->
>   <x:copyOf select="$doc"/>
> </x:transform>

Performs well at merging documents and applyin my transformation on the 
merge.

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


Mime
View raw message