I'm using Revolution to handle cgi scripts under Apache. Works well
with text files.
I'm encountering trouble when trying to use XML commands/functions.
Because revCreateXMLTreeFromFile was added in Ver. 2, I'm assuming it
is a part of the currently available Darwin engine (used for cgi). This
function does not seem to be working in cgi (see examples).
Any suggestions?
Thanks.
Dave B.
_____________________________________________
Works:
#!revolution
on startup
put ("Content-Type: text/plain" & cr & cr) into xxx
put "Hello World!" after xxx
put "/Library/WebServer/CGI-Executables/CHEM869J-Dave_Brooks.xml"
into studentFilePath
put URL("file:"&studentFilePath) into rrr
put rrr after xxx
put xxx
end startup
_____________________________________________
Fails:
#!revolution
on startup
put ("Content-Type: text/plain" & cr & cr) into xxx
put "Hello World!" after xxx
put "/Library/WebServer/CGI-Executables/CHEM869J-Dave_Brooks.xml"
into studentFilePath
put revCreateXMLTreeFromFile(studentFilePath,true,true,false) into
studentRecordXML_ID
put xxx
end startup
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution