Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 8758 by Ntronixs: Javascript issues with  CHROME/Mozilla/Safari  
Browser..
http://code.google.com/p/chromium/issues/detail?id=8758

This below scripts works well with IE, but not with Mozilla.
Please can help to solve this with Mozilla/Safari Browser.

Specially for this syntax :
objXMLHome.selectSingleNode("//HOMEPAGE").transformNode
(objXSLHome.documentElement);

---------------------------------------------------------------------------
--
Home.xml :
<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
        <HOMEPAGE>
                <DETAILS>This is details</DETAILS>
        </HOMEPAGE>
</root>
---------------------------------------------------------------------------
--
Home.xsl :

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

   <xsl:template match="/root/HOMEPAGE">

   </xsl:template>

</xsl:stylesheet>
---------------------------------------------------------------------------
--

   var objXMLHome = new ActiveXObject("Msxml2.DOMDocument");
     objXMLHome.async = false;
     objXMLHome.resolveExternals = false;
     objXMLHome.setProperty("SelectionLanguage", "XPath")
     objXMLHome.load("XML/Home.xml");

     var objXSLHome = new ActiveXObject("Microsoft.XMLDOM")
     objXSLHome.async = false
     objXSLHome.load("XSL/Home.xsl");
     document.all("divHEADER").innerHTML =

objXMLHome.selectSingleNode("//HOMEPAGE").transformNode
(objXSLHome.documentElement);
  --------------------------------------------------------------------------
---


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to