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

Re: Input Fields in XML

Subject: Re: Input Fields in XML
From: Aneel Nazareth <anazaret@xxxxxxxxxxxx>
Date: Fri, 04 Dec 1998 15:03:11 -0500
input fields in xml bernd
To clarify a bit here, the sample does the following:

XML + XSL => HTML with input fields => XML

The first => is an XSL processor.
The second => is a CGI program that simply concatenates the input fields.

If you look at the HTML source, you'll notice a lot of HIDDEN INPUT tags.
These have all of the XML tags encoded in them. For example, when you submit
this piece of the form:

<P> Artist: <INPUT VALUE="&lt;ARTIST&gt;" TYPE="HIDDEN" NAME="xml"/>
<INPUT SIZE="60" VALUE=" Peter Gabriel " TYPE="TEXT" NAME="xml"/>
<INPUT VALUE="&lt;/ARTIST&gt;
" TYPE="HIDDEN" NAME="xml"/>
</P>

The output in the CGI parameter with NAME="xml" (I should have chosen a
different name for clarity's sake) is:
<ARTIST> Peter Gabriel </ARTIST>

So the HTML form returns the original XML document, with whatever values the
user changed.


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


Current Thread

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.