|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Input Fields in XML
Oops. I missed a chunk of the stylesheet when I copied it. Here's the correct version...
<xsl:stylesheet>
<xsl:template match="/" xsl:space="preserve"><:HTML><HEAD>
<TITLE>XSL Form Styler</TITLE>
</HEAD><BODY>
<FORM ACTION=" your CGI action... " METHOD="POST">
<H1>CD Collection: Disc View</H1>
<INPUT TYPE="HIDDEN" NAME="xml" VALUE="&lt;CD&gt;
"/>
<xsl:process-children/>
<INPUT TYPE="HIDDEN" NAME="xml" VALUE="&lt;/CD&gt;"/>
<INPUT TYPE="SUBMIT"/>
</FORM>
</BODY>
</:HTML>
</xsl:template>
<xsl:template match="ARTIST" xsl:space="preserve">
<:P>
Artist:
<INPUT TYPE="HIDDEN" NAME="xml" VALUE="&lt;ARTIST&gt;"/>
<INPUT TYPE="TEXT" SIZE="60" NAME="xml" VALUE="{.}"/>
<INPUT TYPE="HIDDEN" NAME="xml" VALUE="&lt;/ARTIST&gt;
"/>
</:P>
</xsl:template>
<xsl:template match="TITLE" xsl:space="preserve">
<:P>
Album Title:
<INPUT TYPE="HIDDEN" NAME="xml" VALUE="&lt;TITLE&gt;"/>
<INPUT TYPE="TEXT" SIZE="60" NAME="xml" VALUE="{.}"/>
<INPUT TYPE="HIDDEN" NAME="xml" VALUE="&lt;/TITLE&gt;
"/>
</:P>
</xsl:template>
</xsl:stylesheet>
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








