[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: HTML form contents => XML document

Subject: Re: HTML form contents => XML document
From: Matt Sergeant <matt@xxxxxxxxxxxx>
Date: Thu, 2 Aug 2001 13:49:35 +0100 (BST)
xml xsl form perl cgi
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


Current Thread
  • variable
    • Eric Schenfeld - Wed, 1 Aug 2001 16:54:03 -0400 (EDT)
      • James Melton - Wed, 1 Aug 2001 17:02:38 -0400 (EDT)
        • dante - Thu, 2 Aug 2001 08:05:14 -0400 (EDT)
          • cutlass - Thu, 2 Aug 2001 08:14:59 -0400 (EDT)
          • Matt Sergeant - Thu, 2 Aug 2001 08:53:41 -0400 (EDT) <=
          • Kevin Read - Thu, 2 Aug 2001 14:42:10 -0400 (EDT)
      • Oleg Tkachenko - Thu, 2 Aug 2001 03:49:14 -0400 (EDT)
        • dante - Thu, 2 Aug 2001 08:05:18 -0400 (EDT)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.