boom.snap.clap.
New member
I have a PHP page that parses data from an XML file and places it in my landing page. Obviously XML prohibits the use of "<" and ">". So my question is, are there any utilities or tools that could automate the conversion of HTML code to XML friendly data.
Example:
convert: <img src="picture.jpg">
to: &[html entity code for <];img src="picture.jpg"&[html entity code for >];
Example:
convert: <img src="picture.jpg">
to: &[html entity code for <];img src="picture.jpg"&[html entity code for >];