function xmlToString(xmlObj) {
if (navigator.appName == "Netscape")
{
return (new XMLSerializer()).serializeToString(xmlObj);
}
if (navigator.appName == "Microsoft Internet Explorer")
{
return xmlObj.xml;
}
}
That's javascript, not PHP, post the problem there.
AND USE [code] TAGS AROUND YOU CODE!
If you don't it becomes hard to read like your post, I passed by your thread three times(I spotted the code outside of the code tags, figured it would be too much work for me to copy/paste it and restore some reasonable levels of indent before i could understand the code, and closed the tab without reading the post) before I decided to post this(which I am doing only because I have nothing else to do for the next 30 mins or so).
If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
The same applies to HTML and the forums [HTML][/HTML] tags.
That's javascript, not PHP, post the problem there.
AND USE [code] TAGS AROUND YOU CODE!
If you don't it becomes hard to read like your post, I passed by your thread three times(I spotted the code outside of the code tags, figured it would be too much work for me to copy/paste it and restore some reasonable levels of indent before i could understand the code, and closed the tab without reading the post) before I decided to post this(which I am doing only because I have nothing else to do for the next 30 mins or so).
Bookmarks