PHP/XSLT: XML entities not resolved

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
ingo

PHP/XSLT: XML entities not resolved

Post 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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

maybe this is helpful for you Example 3. External Entity Example
Post Reply