Is there a way to handle standard XML entities with the event-driven XML parser in PHP? I'm currently using an XML file to build a collection of objects and display a page based on those objects. I'd like my CData handler to handle text that includes standard entities, but as it stands, it handles the text on either side of an entity separately. I could compensate for this if I could define an event handler for when a standard entity is encountered, but so far, my research hasn't turned up a way. I've checked the PHP manual, the book Programming PHP (second edition), and various online tutorials with no luck.
All 2 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.