xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilene Seelemann" <il...@ca.ibm.com>
Subject Re: URIResolver and document()
Date Wed, 07 May 2003 16:39:57 GMT

If you set the URIResolver on the TransformerFactory, this will resolve
URI's used byl xsl:import and xsl:include.   To resolve URI's in document
(), you need to set the URIResolver on the Transformer object.


                      "Massimo Ferrari"                                                  
                      <massimo.ferrari@rc        To:       xalan-j-users@xml.apache.org
                      fmedia.net>                cc:                                  
                                                 Subject:  URIResolver and document()    
                      05/07/2003 11:53 AM                                                
                      Please respond to                                                  

I have implemented an URIResolver.
This class is called without problems by xsl:imports, but not by document
It's me or is it a known problem (I found nothing on the list archive)?
Thank you in advance!

PS: XSL snippet with document():
    <xsl:variable name="menufile" select="concat('menu_', /page/@locale,
    <table cellspacing="0" cellpadding="0" width="129" border="0">
      <xsl:for-each select="document($menufile)/menu/element">

View raw message