URIResolver and document() 2003-05-07 - By Ilene Seelemann
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" <massimo.ferrari@(protected) To: xalan-j-users@(protected) .apache.org 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/@(protected), '.xml')"/> <table cellspacing="0" cellpadding="0" width="129" border="0"> <xsl:for-each select="document($menufile)/menu/element"> .....
|
|