XSLTInputHandler and url's

Here should go questions about transforming XML with XSLT and FOP.
j2eenewbie
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"),
"http://host:7011/web/myXSL.xsl")


thanks in advance for your help
george
Site Admin
Posts: 2100

Thu Apr 07, 2005 2:18 pm

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

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest