DouglasAWh
October 22nd, 2007, 10:50 AM
Sorry for the crappy thread title, I hit enter too soon!
I have an HTML page that I've built with XQuery. Unfortunately, the original document has lots of escaped HTML charaters "<" = "<" and thus the browser renders the characters, not the HTML (it shows the '<', not keeping that just in source). My thought at correcting this was to use the html_entity_decode function in PHP, but the problem is even though it's simple to include my XQuery output in the PHP file with the include command, I don't know how to turn that include into a strong some that html_entity_decode can do its thing. I'm going to continue to look at it, but any help would be greatly appreciated as always!
I have an HTML page that I've built with XQuery. Unfortunately, the original document has lots of escaped HTML charaters "<" = "<" and thus the browser renders the characters, not the HTML (it shows the '<', not keeping that just in source). My thought at correcting this was to use the html_entity_decode function in PHP, but the problem is even though it's simple to include my XQuery output in the PHP file with the include command, I don't know how to turn that include into a strong some that html_entity_decode can do its thing. I'm going to continue to look at it, but any help would be greatly appreciated as always!