Alexander Schatten wrote:
My idea is this: I use Xalan for XML publishing to html and PDF. Now it could be pretty convenient to store the data fragments in Xindice collections, but access to this without the need of an application.


If you use the javax.xml.transform APIs, you could write an implementation of a URIResolver which directly accesses Xindice. URIResolvers are use whenever you import/include a stylesheet in another or when you call the document() function. The good part about this you can use your URIResolver implementation with any transformer that supports the javax.xml.transform API, not just Xalan[0]. It's also very easy to write one.


I've written an implementation for Xindice which works quite well, and would offer it as a contribution to the project, but it's quite closely coupled to the app it was written for..

Mike.
[0] - of course, I wouldn't use anything else anyway.. 8)

--
Mike Gratton <[EMAIL PROTECTED]>
"Every motive escalate."
 Blatant self-promotion: <http://web.vee.net/>



Reply via email to