I've started working almost exclusively with xml and xslt lately and have been working on creating a layout for my site with it which means I need to integrate it with php. My problem is this: whenever I generate code in a script and wish to pass it as a parameter it all gets converted to entities (i.e <div> becomes <div>) I would appreciate it if anyone could help me here. I was hoping that some constant of the XSLTProcessor object could be set to turn that off but so far I've found no such documentation (on any of the properties, even ones that I know exist like resolveExternals). Thank you, asylum