Link to home
Start Free TrialLog in
Avatar of omagarc
omagarc

asked on

Render Xml XSL

I have an xml file and an xsl file.  Is there a way to create a third file to have the xml file use the xsl stylesheet?

The xml does not reference the stylesheet so i have to tell it to use it without modifying the xml file if possible.

I need to render the data and create a pdf out of it.
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of omagarc
omagarc

ASKER

Thanks! Using AlphaFive IDE and it now supports .net classes

dim trans as system::xml::xsl::XslTransform()
trans.Load("d:\projects\pn.xsl")
trans.Transform("d:\projects\pn.xml","d:\projects\mytest.html")
sys_print("D:\projects\mytest.html")