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

Populating textbox

Subject: Populating textbox
From: "Colleen O'Rourke" <corourke@xxxxxxxxxxxxxx>
Date: Fri, 19 May 2000 14:35:28 -0400
populating textbox
Hi,
I'm new to XSL and XML. Sorry if this is simple problem. I've gone through
the archives and tried to apply what I was looking for, without success. I'm
trying to get the value of my XML tag to appear in my textbox. I'm just
using IE5 and notepad. 
Do I need to declare a variable?  Use a template(where)?  
I sincerely appreciate anyone that can help.


Here is some of the XML:

<FORM>
   <GEN_INFO>
     <FIRST_NAME/>
  </GEN_INFO>
</FORM>

Here is some of the XSL:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns:HTML="http://www.w3.org/Profiles/XHTML-transitional">  


<xsl:template match="/">

<html>
    <head>
       <title>Application</title>
    </head>

<body bgcolor="#6f7a9e">
    <center>
      <h1><b>form <br/>
         <u>APPLICATION</u></b></h1>

           <form name="FormName"  method="get">

             <table border="0" cellpadding="0" cellspacing="2" width="100%">
	 <tr>
	 <td>
	 <table border="0" cellpadding="0" cellspacing="3">
	 <tr>
	 <td style="background-color:#9999cc" width="20%"><font
size="4"><b>Application Information</b></font></td>
	 <td style="background-color:#9999cc" colspan="3"></td>
	 </tr>
	   <tr>
	     <td width="20%"></td>
	     <td width="20%"></td>
	     <td width="10%" align="right"></td>
	     <td></td>					
	   </tr>
	 <tr>							
	 <td style="text-align:right; background-color:#cccccc;"
width="20%">first_name:</td>
	 <td width="20%"><input type="text" size="18" value="xsl:value-of
select={FIRST_NAME}"/></td>

					<!-- other stuff in table---->

              </table>
              </form>
	</center>
          </body>
         </html>
     </xsl:template>
</xsl:stylesheet>

Thanks, 
Colleen


 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.