XSLTInputHandler and url's

Here should go questions about transforming XML with XSLT and FOP.
Posts: 1

XSLTInputHandler and url's

Sun Apr 03, 2005 12:58 am

I am using XSLTInputHandler constructor in a java action
and, up to now, i have used it with file names hosted in my disk but i'd like to use it with xml data retrieved from an url. is this possible?if not, is there any workaround i can do?

what i'd like to have is sth like:

public XSLTInputHandler("http://host:7011/web/myXML.xml"),

thanks in advance for your help
Site Admin
Posts: 2100

Thu Apr 07, 2005 2:18 pm


Assuming you are talking about rg.apache.fop.apps.XSLTInputHandler.
It has a constructr that takes InputSource obejects instead of files as parameters. From an URL you should be able to obtain an InputSource.

Best Regards,

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest