cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Graversen" <dg-coc...@wdk.k-net.dk>
Subject Read XML document via http with variables
Date Sun, 08 Jun 2003 16:07:53 GMT
Hi,

I'm trying to include information from an other document in an XSL. The
document I'm trying to get is made with Xindice and Cocoon as described in
tutorial about this, and the command work nicely in my browser.

I have tried with the following command where I whould like to change XXX
to anumber i have in the variable $cn.

<xsl:for-each
select="document('http://localhost:8080/cocoon1/mount/02288/xmldb2/02288/?xpath=course[contains(prerequisites/courseno,XXXX)]')//course">
 <xsl:variable name="course" select="@courseno"/>
...

Does any know how to do this.


Regards,
daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message