Page 1 of 1

XSLTInputHandler and url's

Posted: Sun Apr 03, 2005 12:58 am
by j2eenewbie
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"),
"http://host:7011/web/myXSL.xsl")


thanks in advance for your help

Posted: Thu Apr 07, 2005 2:18 pm
by george
Hi,

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,
George