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

Adding a submit box to an XML dataset using XSL

Subject: Adding a submit box to an XML dataset using XSL
From: "Robert Farmer" <rfarmer@xxxxxxxxxxxxxxxxxx>
Date: Tue, 13 May 2003 14:18:07 -0500
submit box
I currently have the following:

[code]

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
  <xsl:template match="/">
  <HTML><HEAD><TITLE>XSL-Formatted ADO 
Recordset</TITLE></HEAD>
  <BODY><FONT FACE="Tahoma" size="2">
    <TABLE border="1" COLOR="BLUE">
      <TR>
        <xsl:for-each 
select="*/s:Schema/s:ElementType/s:AttributeType">
        <TD><STRONG><FONT COLOR="RED" size="2">
        <xsl:value-of select="@name"/></FONT></STRONG></TD>
        </xsl:for-each>
      </TR>
      <xsl:for-each select="*/rs:data/z:row">
        <TR>
          <xsl:for-each select="@*">
          <TD>
           <input type="text">
           <xsl:attribute name="HospitalID"><xsl:value-of 
select="@HospitalID"/></xsl:attribute>
           </input>
          <FONT COLOR="BLUE" size="2"><xsl:value-
of/></FONT></TD>
          </xsl:for-each>
        </TR>
      </xsl:for-each>
    </TABLE>
  </FONT></BODY></HTML>
  </xsl:template>
</xsl:stylesheet>

[/code]

THis works quite well, but I need to have a submit button on the 
first element of each table row.  The element name is HospitalID.

Where can I find out how to do this?

Robert Farmer


 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.