DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11398>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11398

Could not compile stylesheet exception with xalan:nodeset()

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
            Summary|Could not compile stylesheet|Could not compile stylesheet
                   |exception with              |exception with
                   |xalan:nodeset()             |xalan:nodeset()



------- Additional Comments From [EMAIL PROTECTED]  2002-08-02 13:28 -------
Unforetuneately XSLTC's implementation of the nodeset extension 
is inconsistent with Xalan's. See

http://xml.apache.org/xalan-j/xsltc_constraints.html#xsltcconf

Here is a snippet from that doc to show you how to use the 
nodeset function with XSLTC

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";        
                      xmlns:xsltc-extension="http://xml.apache.org/xalan/xsltc";
                      xmlns:some-extension="http://some-extension";
                      version="1.0">
                      <xsl:template match="/">
                        <xsl:variable name="rtf">
                          <docelem>
                            <elem1>elem1</elem1>
                            <elem2>elem2</elem2>
                          </docelem>
                        </xsl:variable>
                        <!-- Use nodeset as XSLTC extension -->
                        <xsl:value-of
select="xsltc-extension:nodeset($rtf)/docelem/elem1"/>
                        <!-- Use nodeset as standard function -->
                        <xsl:value-of select="nodeset($rtf)/docelem/elem1"/>
                      </xsl:template> 
                    </xsl:stylesheet>

Reply via email to