printing PDF and XML

I tried to print XML today but the result is zero (2.0 + OS X 10.3)… Is there a special thing I have to do here?

I also would like to be able to create a PDF. I know this should be there (althought reported not working yet on OS X) but can’t find it anywhere…

Any suggestions on these two topics?

Thanks

XML:
var xml = controller.printXML();
application.writeXMLFile(‘c:\temp\test.xml’,xml);

PDF:
[u]BETA PDF printer plugin[/u] (extract in plugin dirs, keep subdirs!)