Trouble with NotesXMLTransformer input/output

Hi, I am having trouble getting the NotesXMLTransformer to produce anything. I have the following inputs:

  • XML - string in an agent.

  • XSL stylesheet - page (notes page) in my database.

I want to output the html to the browser using Print in an agent.

The help says I can use a string for the XML input, but I can’t figure out how to reference the page containing the XSLT. Do I have to read it into a notesStream? (if so any pointers would be appreciated).

Also, with the output, how do I get that into a string variable in my script?

Many thanks for your help - I am trying to use this to do everything on the server rather than using the Microsoft.XMLDOM and JavaScript in the browser on load.