Re: xsltprocessor
| From: | Allan Jardine | Date: | Sun, 31 Jul 2005 16:07:17 +0000 |
| Subject: | Re: xsltprocessor | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219715@lists.php.net to get a copy of this message | ||
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