Hi, 
 
I have a questions about Xalan. I am trying to use the xpath-default-namespace 
attribute in my XSL stylesheet, as in: 
 
     <xsl:if xsl:xpath-default-namespace="" test="./code">
or 
    <xsl:value-of xsl:xpath-default-namespace="" select="./code"/>
 
The Xalan command-line interpreter gives me these errors: 
 
    "xsl:xpath-default-namespace" attribute is not allowed on the xsl:value-of 
element!
and 
   "xsl:xpath-default-namespace" attribute is not allowed on the xsl:if element!
 
Why the error?  I am new to XSLT, but my understanding is that the XSLT 
language allows this attribute to be used in any XSL element. Am I doing 
something wrong? 
 
-Deio 

Reply via email to