All techies,
I came across one of the good article about clustering of WebSphere Portal 7 with Process Server 7 at IBM developerworks site.
Please take a look at this at http://www.ibm.com/developerworks/websphere/zones/portal/proddoc/dw-w-integratewps/index.html
Working as a Senior IBM WebSphere Portal Consultant and having good experience in design, development, Administration, and Architecting the Enterprise portal Application and Web Content management in IBM WebSphere Portal platform for many years. SME on WebSphere Portal and IBM WCM Technologies.
Search This Blog
Thursday, November 4, 2010
Parsing & using XML in AJAX method by XML DOM Parser
Agenda:
How to parse and use XML data using XML DOM parser using AJAX in your enterprise application.
XML :
How to parse and use XML data using XML DOM parser using AJAX in your enterprise application.
XML :
AJAX Code snippet (which will be inside the onreadystatechange block):
var xmlDoc;
if (window.DOMParser) { //for Firefox
parser=new DOMParser();
xmlDoc=parser.parseFromString(xmlHttp.responseXML,"text/xml");
} else { //for IE 6+
xmlDoc = xmlHttp.responseXML;
}
var tagValue = xmlDoc.getElementsByTagName("[XML-TAG-NAME]")[(POSITION)];
var attrValue = xmlDoc.getElementsByTagName("[XML-TAG-NAME]")[(POSITION)].getAttribute("[ATTRIBUTE-NAME]");
var xmlDoc;
if (window.DOMParser) { //for Firefox
parser=new DOMParser();
xmlDoc=parser.parseFromString(xmlHttp.responseXML,"text/xml");
} else { //for IE 6+
xmlDoc = xmlHttp.responseXML;
}
var tagValue = xmlDoc.getElementsByTagName("[XML-TAG-NAME]")[(POSITION)];
var attrValue = xmlDoc.getElementsByTagName("[XML-TAG-NAME]")[(POSITION)].getAttribute("[ATTRIBUTE-NAME]");
Labels:
XML Processing
Subscribe to:
Posts (Atom)