Subject: Re: Input Fields in XML From: Aneel Nazareth <anazaret@xxxxxxxxxxxx> Date: Fri, 04 Dec 1998 15:03:11 -0500 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Input Fields in XML, anette . engel | Thread | Newbie: How to write a stylesheet t, Francois Belanger |
Re: Input Fields in XML, anette . engel | Date | <xsl:define-constant> and many-to-m, Gabriel Paiz III |
Month |