Page 1 of 1

PHP/XSLT: XML entities not resolved

Posted: Wed Jun 19, 2002 8:37 pm
by ingo
Hi all,

I am just getting started with XSLT. I succeeded letting PHP process an XML file with an XSLT stylesheet using the xslt_process() function.

The problem is that my XML source file uses entities to include chunks of XML. PHP doesn't seem to resolve those entities before applying the style sheet. So just the core XML file is processed. How can I PHP get to include the entities?

Thanks!
Ingo

Posted: Thu Jun 20, 2002 6:57 am
by volka
maybe this is helpful for you Example 3. External Entity Example