Yes, if you're using the JAXP interface then the URIResolver registered with the TransformerFactory is used to resolve imports and includes; if you are using the s9api interface, then XsltCompiler.setURIResolver() achieves the same purpose.

Michael Kay
Saxonica

On 24/09/2010 7:38 PM, Meeraj Kunnumpurath wrote:
Hi,

I am working on a transformation application written in Java deployed as a JEE application. The transformation for incoming XML data are selected dynamically based on a number of contextual parameters. To enable amendments to the stylesheets without needing a redeployment of the application, we store all the stylesheets in a relational database. The stylesheets share a number of reusable elements, which we would like to maintain as separate stylesheets again maintained in the database, which are imported into the primary stylesheets. Does the Saxon API have some kind of URI Resolver interface I can register, so that the imported stylesheets can be resolved from the database?

Kind regards
Meeraj
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ saxon-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/saxon-help