This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

element-available() question


Hi all,

I have this code:


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
<xsl:output method="html" indent="yes"/> 

<xsl:template match="/">
<html>
<body>
  <p><h2>Elements availables with the element-available() function.</h2></p>
  <table border="1">
    <tr><td>Element</td><td>Availability</td></tr>
    <tr>
      <td><pre><![CDATA[<xsl:template>]]></pre></td>
      <td valign="top"><xsl:value-of
select="element-available('xsl:template')"/></td>
    </tr>
  </table>
</body>
</html>
</xsl:template>

</xsl:stylesheet>


And the ouput source code is diferent if I process in Xalan, Saxon and
MSXSL.  The ouput on Saxon's processor is 'false' and the other ones is
'true'.  Why the result is diferent if is the same code?

Thanks,

Dago Flores.



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]