I think you need a resolver if you get the include from some other
place. Otherwise the default resolver should work.
On Tue, Jun 19, 2012 at 5:28 PM, Ming Yu <my600080(_at_)yahoo(_dot_)com> wrote:
In my stylesheet, I need to use xsl:include to include another stylesheet
libraries I wrote. What's the best way to resolve the url of the xsl:include?
It seems that some people are trying to use URIResolver. But I don't seem to
be able to put the pieces together. Do I need to write my own URIResolver?
How can I call the URIResolver? Do I need to put information in my beans.xml
file?
Or is it possible to include in the java classpath?
My goal is to use a url that's relative to the parent xslt in the xsl:include.
i.e. <xsl:include href="mylibrary.xsl" />. And the mylibrary.xsl is in the
same directory as the parent xslt which includes the mylibary.xsl.
Thanks a lot!
Ming
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--