CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 XML

Print topic Send  topic

Author Message
lavanya_o

Posts: 1
Posted: 06/13/2008, 4:24 AM

Could u please send me the code for how to read XML file using javascript.
_________________
from lavanya
View profile  Send private message
siap


Posts: 7
Posted: 07/01/2008, 1:29 PM

try this
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
function loadXML(xmlFile)
{
xmlDoc.async="false";
xmlDoc.onreadystatechange=verify;
xmlDoc.load(xmlFile);
xmlObj=xmlDoc.documentElement;
}


i use this for js tree control
<script>
tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0);
tree.setImagePath("../js/dhtmlxTree/imgs/csh_scbrblue/");
tree.loadXML("comunes/xml/GCatalogoXML.xml);
</script>


_________________
Unidad de TI
Sistemas Administrativos y Financieros
Direccion Nacional de Informática
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.