Specify a style sheet to be applied to an XML file from the URL

S

sid

Is it possible to Specify a style sheet to be applied to an XML file
from the URL. So that I can call the XML file from one location and
have one transformation and also call it from another location and have
a totally different location ?

I want to do all of this and not change the XML file.

Thanks

Sid.
 
M

Martin Honnen

sid said:
Is it possible to Specify a style sheet to be applied to an XML file
from the URL. So that I can call the XML file from one location and
have one transformation and also call it from another location and have
a totally different location ?

I want to do all of this and not change the XML file.

If you have server-side scripting (PHP, JSP, ASP etc) then you can
certainly write one that takes two URLs as the arguments in the query
string e.g.
transform.jsp?xml=whatever.xml&xsl=whatever.xsl
and then runs the transformation as needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top