xsl:when problem

Subject: xsl:when problem
From: Eric Taylor <Eric.Taylor@xxxxxxxxxxxx>
Date: Fri, 18 Aug 2000 07:32:43 -0500
<xsl:template match="link">
  <xsl:if test="@internal">
    <xsl:when test= ".[@internal = //bookmark/@name]">
        <xsl:attribute name="href">#<xsl:value-of select="@internal"
        <xsl:value-of select="@text"/>
      <xsl:value-of select="@text"/>

when I try to open a file that uses this stylesheet with IE5, I get the
error "Keyword xsl:when may not be used here"  Anyone know why?.  (I am
still using old microsoft namespace
(xmlns:xsl="http://www.w3.org/TR/WD-xsl";)--not sure if this is a factor,
though I know it's contributed to some of the other issues I haven't been
able to get to work).  Thanks once again.  Eric

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread