Quantcast
Channel: CodeRelic.com » XML
Browsing latest articles
Browse All 2 View Live

Convert bad characters to UTF-8 in an XML file with PHP

I ran in to a situation where a vendor was sending an XML file to my system and I needed to parse it and do a bunch of stuff with the data. Well, I wanted to load the file with PHP DOMDocument, but as...

View Article



Get more elaborate XML validation errors with PHP

In a previous post, “Validate XML file against an XSD schema“, I showed how you validate an XML document against a corresponding XSD document. By default, the DOMDocument class does not spit out very...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images