cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Henry C. Daswani" <gdasw...@esri.com>
Subject is there a way to do this?
Date Wed, 24 Nov 1999 02:25:33 GMT
I was wondering if there's a way to do this on cocoon..

Basically..

<------- test.xml ------>
<?cocoon-process type="dcp"?>
<?dcp-object name="marketdata" language="javascript" code="marketdata.js"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE page [
    <!ENTITY xmlSource SYSTEM "<?dcp-content
method="marketdata.handleDynamicCalls"?>">
]>
<?xml-stylesheet href="marketdata.html.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>
<page>
 &xmlSource;
</page>
<------- test.xml ---->

marketdata.handleDynamicCalls just returns
an url with the proper get request..

eq..

test.xml?command=getAll

will run and marketdata.handleDynamicCalls will return

http://localhost/php/xmlProvider.php?command=getAll&cursorLocation=0&rowCoun
t=10

and I want the output of that entered into

<page>
&xmlSource;
</page>

Is this possible?




Mime
View raw message