hi,
try this..this should work!
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.o
<xsl:template match="/">
<html>
<head>
<title></title>
</head>
<body>
<textarea name="test">
<xsl:variable name="rows" select="//constant[@id = 'textarea_rows']"></xsl:va
<xsl:variable name="cols" select="//constant[@id = 'textarea_cols']"></xsl:va
<xsl:attribute name="rows">
<xsl:value-of select="$rows"></xsl:value
</xsl:attribute>
<xsl:attribute name="cols">
<xsl:value-of select="$cols"></xsl:value
</xsl:attribute>
<xsl:value-of select="concat('Textarea Rows are : ',$rows,' and Cols are : ', $cols)"></xsl:value-of>
</textarea>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Zulu..
Main Topics
Browse All Topics





by: jm60697Posted on 2003-08-28 at 00:30:06ID: 9238284
[jarkko@itcm xslt]$ cat fo.xsl rg/1999/XS L/Transfor m">
rea_rows'] }" rea_cols'] }"></texta rea>
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.o
<xsl:output method="html" indent="yes"/>
<xsl:template match="constantgroup">
<textarea name="ElementnameTextarea"
rows="{constant[@id='texta
cols="{constant[@id='texta
</xsl:template>
</xsl:stylesheet>