cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Larson <>
Subject cgi return
Date Tue, 14 Nov 2000 16:34:21 GMT

Im trying to get xml output from a cgi-script.
How should i pass the information to get Cocoon to parse it?

Another option is to use Cocoon via command-line, but how do i do that?

( Cocoon 1.8/Apache/Apache Jserv (Linux RedHat7).)

---sample script---


print "Content-type: text/xml\r\n\r";
print "
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<?xml-stylesheet href=\"1.xsl\" type=\"text/xsl\"?>
<?cocoon-process type=\"xslt\"?>
<form name=\"login\" url=\"$env{'SCRIPT_NAME'}\" method=\"post\">
<username />
<password />
<submit-button label=\"Logga in\"/> <reset-button label=\"rensa\">

View raw message