OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   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. 




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS