Hi,

The problem is then applying the xsl transform to what is in that variable. It appears to transform everything in $xml, rather than just what is in $content.

Managed to solve my own problem... Using:

$content = $proc->transformToXML(DomDocument::loadXML($content));

To create an xml dom model that can be operated on by the xslt processor. I still have no idea why it would spit out the whole xml document if its not done like that - but never mind...

Thanks
Allan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to