[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Calling Saxon from a CGI script
Hi,
I am using the Saxon processor for java to transform an XML into HTML. The XSL expects the user to provide two parameter values as command line arguments to Saxon. So, my call to Saxon is something like this: java net.sf.saxon.Transform -o report.html report.xml report.xsl param1=val1 param2=val2 The values val1 and val2 are inputs in an HTML form and would be available at run-time in a CGI perl script. Once I get these values, I basically want to call Saxon as above to perform the transformation. I am trying to use the 'system' command inside the CGI perl script but it doesn't work - I am seeing the following error in the webserver error logs: *** glibc detected *** java: free(): invalid pointer: 0xbfc7cbb8 ***, referer: http://localhost/cgi-bin/report.cgi I do set the correct CLASSPATH inside the CGI script. Would appreciate any help with the above issue and/or other cleaner solutions. PS: Before I started requiring command line arguments, I used to do this by just referring to the XSL stylesheet from within the XML document and my browser did the transformation. Thanks, Bhaskar _________________________________________________________________ Real Estate classifieds on MSN - for free.www.yello.in http://www.yello.in/home.php?utm_source=hotmailtag&utm_medium=email&utm_content=in&utm_campaign=jun
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|