markSaunders
Programmer
how on earth do i for a text box and populate the value from an XML doc using XSL. i have tried with the following XSL...
.
.
.
i get the text box to appear, but no content :-(
any help appreciated.
m Mark Saunders
Code:
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="[URL unfurl="true"]http://www.w3.org/TR/WD-xsl">[/URL]
<xsl:template>
<xsl:element name="STOCKFILE"/>
<xsl:for-each select="STOCKFILE"> <html> <head>
<title>StockDetail01(XSL 02)</title></head>
<body>
.
.
Code:
<xsl:for-each select="STOCK">
<xsl:element name="input">
<xsl:attribute name="type">
text
</xsl:attribute>
<xsl:attribute name="value">
<xsl:value-of select="ST01-DESCR"/>
</xsl:attribute>
</xsl:element>
</xsl:for-each>
i get the text box to appear, but no content :-(
any help appreciated.
m Mark Saunders