Hi,

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.

Ilene.




                                                                                
                                                      
                      "Massimo Ferrari"                                         
                                                      
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]     
                                          
                      fmedia.net>                cc:                            
                                                      
                                                 Subject:  URIResolver and 
document()                                                 
                      05/07/2003 11:53 AM                                       
                                                      
                      Please respond to                                         
                                                      
                      massimo.ferrari                                           
                                                      
                                                                                
                                                      
                                                                                
                                                      



Hi,
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!
Massimo

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




Reply via email to