Populating textbox

Subject: Populating textbox
From: "Colleen O'Rourke" <corourke@xxxxxxxxxxxxxx>
Date: Fri, 19 May 2000 14:35:28 -0400
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