This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: HTML form contents => XML document


On Thu, 2 Aug 2001, dante wrote:

> G'day all,
>
> I'd like to have the contents of a form converted/exported into a xml
> document
> How can this be done server-side?
> With PHP?
> Perl/cgi?

There are a couple of options with Perl. One is simple CGI::XML, which
dumps the form variables into simple name/value pairs in a simple XML
representation. The other is CGI::XMLForm, which creates XML based on the
name of the form values. You name them using XPaths, which then generates
the XML based on the XPaths entered.

Both are covered in
http://xml.sergeant.org/xmldevcon/cgi2xml.dkb?style=print

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]