|
XSL - Condition
|
[
Lists Home |
Date Index |
Thread Index
]
- From: "Kumar V." <vkumar@techbooks.com>
- To: xml-dev@lists.xml.org
- Date: Wed, 06 Dec 2000 10:20:04 +0530
Hi,
I hope, you people could be able to solve my
problem.
Strip-space, Preserve-space & the below condition
is not working in IE5.5. Can anyone, help me out.
<?xml
version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template
match="/">
<html>
<head>
<title>Marcel
Dekker</title>
</head>
<body>
<xsl:apply-templates
select="keyword"/>
</td></tr></table>
</body>
</html>
</xsl:template>
<xsl:template
match="keyword">
<xsl:if
test="keyword['position() != last']">
<xsl:apply-templates/>,
</xsl:if>
<xsl:if
test="keyword['position() = last']">
<xsl:apply-templates/>.
</xsl:if>
</xsl:template>
Regards,
Kumar V.
|
|
|
|
|