Subject: More problems and questions 2 From: "anilia bruho" <musoryanin@xxxxxxxxxxx> Date: Mon, 18 Sep 2000 19:58:34 GMT |
> 1. Given that there exist FO renderer(s) written in Java, such as > FOP, and given that some XSLT processors, such as Saxon, allow > calling extension functions written in Java, is it possible to > access FO renderer from within XSLT through this mechanism, with the > goal of being able to ask the renderer some questions and give it > some tests and then modify the transformation algorithm based on the > results returned?
In general I'm not sure this is feasible.
> 2. I transform XML to HTML, and I want the stylesheet to > automatically insert width and height attributes in the img > elements. My idea is that it is possible to implement this by > calling extension functions implemented in Java which would open the > image file by its URI and return its dimentions (and perhaps some > other information, just in case). Has anyone tried this? > Is there any free code available?
> 3. In my custom TeX macro packages (they're intended for typesetting > mostly text with little code or math), I use \catcodes to enable > "smart" character macros. For instance, a hyphen in the input > expands into ~---, .... As there are no > "character macros" in XSL, obviously what I need is some kind of an > input filter ... Indeed, Saxon documentation says I can write > such a filter in Java.
Any suggestions? _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: XML+XSL to HTML strategies advi, Paul Tchistopolskii | Thread | testing an attribute value and node, Russ Holmes |
Re: Rendering: filling tag attribut, Lee Goddard | Date | RE: Saxon configuration (was: for-e, Kay Michael |
Month |