cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinivas Konchada">
Subject Re: Repeat
Date Mon, 18 Sep 2000 18:28:10 GMT
If I am correct you canot do <util:include-uri href="rInfo.xml?id=6002C"/>
because you are asking xsp processor to include some data from a URI you
should provide the protocol used by that URI
for example in your case you should say <util:include-uri
href="http://localhost/rInfo.xml?id=6002C"/> or <util:include-uri
href="file://rInfo.xml?id=6002C"/> but in the later case passing parameters
to your rInfo.xml may not work.
If you want to include file use


----- Original Message -----
From: "Saif Khaja" <>
To: <>
Sent: Monday, September 18, 2000 11:02 AM
Subject: Re: Repeat

Ive been trying to get the same thing to work but couldnt. I think I have
everything in place. I even built the latest 1.8 dev from cvs so that I have
the latest fixes.
rInfo.xml is an xsp file(using esql) that generates xml based on the ID. And
I want to include the xsp output in the new xsp which again generates xml.
I have the PI <?cocoon-format type="text/xml"?> in the included rInfo.xml
(xsp) file.

<?xml version="1.0"?>
<?cocoon-process type="xsp"?>


    <util:include-uri href="rInfo.xml?id=6002C"/>

And I keep getting the following message.
********Sorry typo, this is the message I get.

{rInfo.xml?id=6002C: no protocol: rInfo.xml?id=6002C}

Any clues???


>From: "Srinivas Konchada" <>
>To: <>
>Subject: Re: Repeat
>Date: Mon, 18 Sep 2000 10:15:40 -0700
>It depends if you want you can embed xsp tags with in XML or XSL files. But
>usually its XML files for example look at the following sample.
><?xml version="1.0" encoding="UTF-8"?>
><?cocoon-process type="xsp"?>
><?cocoon-process type="xslt"?>
><?xml-stylesheet href="xsl/articles.xsl" type="text/xsl"?>
><xsp:page language="java"
>   xmlns:util=""
>   <page>
>   <layout color-scheme="green" type="two-col">
>    <util:include-file name="nav.xsp"/>
>    <util:include-uri href="http://localhost/bottomnav.xsp"/>
>       <container height="100%" type="hbox" width="100%">
>         <component>
>           <title>Money Manager</title>
>           <description>Stormy Weather - Current Market Tips for
>      </component>
>    </container>
>   </layout>
>  </page>
>If you are using cocoon-1.7.4 then you may want to get the latest util.xsl
>and the corresponding java source file and build the cocoon because 1.7.4
>has a bug regarding util:include. Other solution is get
>cocoon1.8(development version).

Get Your Private, Free E-mail from MSN Hotmail at

Share information about yourself, create your own public profile at

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

View raw message