|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Input Fields in XML
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="<ARTIST>" TYPE="HIDDEN" NAME="xml"/> <INPUT SIZE="60" VALUE=" Peter Gabriel " TYPE="TEXT" NAME="xml"/> <INPUT VALUE="</ARTIST> " 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
|
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
|

Cart








