Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to call XSL ?

Status
Not open for further replies.

Gaelle

Programmer
Jun 20, 2001
62
FR
Hi !

I have to display XML as HTML in a web browser, so I want to use XSL. My problem is : I can't make the call to XSL in the XML file since I can't modify the file.
So, is there a way to make the call, from the DTD for example, or to make the call to XML from the XSL ???

If there is a solution, please tell it to me !!!
Thanks,
Gaelle.
 
You could do it programmaticaly if you use a server-side scripting language (like ASP) or if you can enforce the client configuration.

Jordi Reineman
 
Hi !
I use JSP, so you seem to say that it could work ?
How do you think it could ?

Thanks,
Gaelle
 
Have your JSP get the file name as a param and invoke the XSL processor on it. Then forward the user to the new html file.

Good Luck
Wiszh
 
Hello !

Thank you for your answer.
What do you mean by invoking a XSL processor on my xml file ?
At the moment, I have just a XSl file I have written, but I don't use any software to generate anything.
Could you explain to me a little more ?
THANK YOU !

Gaelle, from France.
(sorry for my poor english !)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top