cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ludovic Maitre <>
Subject xinclude before xslt, how retrieve the url ?
Date Mon, 30 Jul 2001 17:55:36 GMT
Hello Cocoon users,

I want to include some files in a xml file in Cocoon 1.8.2.
For example this index.xml :

<?xml version="1.0"?>
<?xml-stylesheet href="index.xsl" type="text/xsl"?>

<?cocoon-process type="xinclude"?>
<?cocoon-process type="xslt"?>

<page xmlns:xinclude="" >
<xinclude:include xinclude:parse="xml" xinclude:href="page1.xml"/>
<xinclude:include xinclude:parse="xml" xinclude:href="page2.xml"/>
<xinclude:include xinclude:parse="xml" xinclude:href="page3.xml"/>

and i want to apply a xsl who transform all these includes in a summary,
a list of all the title elements contained in the included XML pages
an hyperlink to these pages. 

Anybody know how i can retrieve the url of the included files from
for generate a <a href> tag ? 
[i have test with the document() function of XSLT, for obtaining the
of the nodes that i traverse but i haven't succedeed to obtain the url
of the nodes]

Obviously, the purpose is to make a menu, perhaps it's not the good way 
if this is the case i appreciate any suggestion.

Thanks per advance and good evening (or day), 


 INRIA - 2004 route des lucioles - BP 93    Tel: (33/0) 4 92 38 50 41
 06902   SOPHIA-ANTIPOLIS cedex (France)    Fax: (33/0) 4 92 38 76 02

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message