This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Bringing XML values into an XSL multi line text box
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Bringing XML values into an XSL multi line text box
- From: "Keddy, Paul" <Paul dot Keddy at wcb dot gov dot ns dot ca>
- Date: Fri, 9 Mar 2001 09:42:19 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
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