[Home] [By Thread] [By Date] [Recent Entries]


A question like this would best be asked on the saxon-help list or forum at SourceForge.
 
The URIResolver interface is part of JAXP, and there is some explanation in the package description for javax.xml.transform in the JDK javadoc specifications: but no specific examples.
 
There is an example in the TraxExamples.java sample application, though it's a rather trivial one, and it is an XSLT example rather than a XQuery example. However, the interface is really very simple: if you've tried to get it to work and can't, then it should be easy to show you what you've done wrong.
 
Performance: no, there's no reason why a user-written URIResolver should be less efficient than the system-supplied one, unless of course it is intrinsically inefficient.
 
Michael Kay
http://www.saxonica.com/


From: Shay Artzi [mailto:shay.artzi@w...]
Sent: 28 June 2005 16:29
To: xml-dev@l...
Subject: URIResolver for saxon

Hi,

I’m writing an application in which the user will manage XQuery functions in libraries.

I have two questions:

1) Is there an example/explanation of how to create a URIResolver for Saxon?

I couldn’t find one.

2) Performance: will using a URIResolver for the XQuery import module have a significant effect on performance?

    If so is there a way to overcome/reduce that?

 

 

Thanks,

 

    Shay

 

 


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member