XML in Lotus Notes

Hi

I have created on xml in lotus notes script.

Need to do operation in particular file. I have done in javascript but now i need to do in lotus script. Is i need to check node type and do a procees…as given in eg in notes help

If any one has code for add,deletion and modify node of xml in lotusscript. Kidly send across to me.

kavitha

Subject: XML in Lotus Notes

Everything you are doing in JavaScript can be done in LotusScript using the NotesDOMParser. Designer Help is VERY good for the NotesDOMParser and the NotesDOMNode classes – especially the examples. Everything you need is there if you are already familiar with W3C DOM methods.

Subject: RE: XML in Lotus Notes

Hi

Am little bit cofused with lotusscript domparser. even i have cheked help xmldomtree function mostly used where in this function thy are using switch case to find the type of node but is it necessary to chk to get into node?

Normally in JS will go like this

var xmlDoc = new ActiveXObject(“Microsoft.XMLDOM”);

xmlObj=xmlDoc.documentElement;

var childNodes = xmlObj.childNodes.length;

for(var i=0; i<childNodes; i++)

{

}

It would be better if u have any sample lotusscripting for addition,modification,deletion of xml node kindly pass it to me…

kavitha

Subject: RE: XML in Lotus Notes

Look at the examples in Designer Help. Please. There is enough sample code there. DOM method code in LotusScript is VERY verbose (lots of code to do a little bit).