This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bringing XML values into an XSL multi line text box


This may be more of an html question? and probably a very simple one, but I
was wondering:

I currently am bringing in values correctly from XML to XSL.  This displays
fine but I would like the number value to be put into an input text box, and
the severity into a multi line text box.  Any quick solutions?

current code
XML
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="standard_error.xsl"?>
<error>
	<number>102</number>
	<severity>This could be a multi line description on
severity.</severity>
<error>

======================
XSL
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
<xsl:template match="/">
   <HTML>
   <BODY>
      	<table>
              <tr><td>Number: </td><td><td><xsl:value-of
select="error/number"/></td></tr>
	    <tr><td>Severity: </td><td><xsl:value-of
select="error/severity"/></td></</tr>
	 </table>      
      </BODY>
    </HTML>
  </xsl:template>
</xsl:stylesheet>


Thanks,
Paul


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]