cocoon-users mailing list archives

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

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---

#!/usr/bin/perl

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\"?>
<document>
<form name=\"login\" url=\"$env{'SCRIPT_NAME'}\" method=\"post\">
<username />
<password />
<submit-button label=\"Logga in\"/> <reset-button label=\"rensa\">
</form>
</document>
";


Mime
View raw message