• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 534
  • Last Modified:

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.
1 Solution
Geert BormansInformation ArchitectCommented:
your third file would typically be a "program"

There are roughly 3 ways to tell an XSLT processor to process an XSLT and an XML

- command line execution
- embedded in a program (java, python, ruby, c#, ... name it)
- using javascript in a browser (but then you need to get around cross platform quirks)

So make your choice (it is, give us more detail of what exactly you want to do)

If you need PDF and you think of using XSL-FO, note that beside your XSLT processor you also need a XSL-FO processor
omagarcAuthor Commented:
Thanks! Using AlphaFive IDE and it now supports .net classes

dim trans as system::xml::xsl::XslTransform()
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now