Really very hard to understand the structure of the Notes XML parsing classes. Still I need to understand more. Actually I tried to read the xml file for some requirement.
Initially I thought it is an easy job but after an half of the day had gone, I realized it is difficult one.
If someone has nice trick please share to me...
Dim session As New NotesSession
Dim domparser As NotesDOMParser
Dim domdoc As NotesDOMDocumentNode
Dim domlist As NotesDOMNodeList
Dim domlist1 As NotesDOMNodeList
Dim domele As NotesDOMElementNode
Dim stream As NotesStream
Dim node As NotesDOMNode
Dim node1 As NotesDOMNode
Dim x As String
x= "D:\javap\Test.xml"
Set stream = session.CreateStream()
stream.open(x)
Set domParser = session.CreateDOMParser(stream)
domParser.Process
Set domdoc = domparser.Document
Set domele = domparser.Document.DocumentElement
Set domlist = domele.GetElementsByTagName("TagName")
Set node = domlist.GetItem(1)
Msgbox node.FirstChild.NodeValue
Initially I thought it is an easy job but after an half of the day had gone, I realized it is difficult one.
If someone has nice trick please share to me...
Dim session As New NotesSession
Dim domparser As NotesDOMParser
Dim domdoc As NotesDOMDocumentNode
Dim domlist As NotesDOMNodeList
Dim domlist1 As NotesDOMNodeList
Dim domele As NotesDOMElementNode
Dim stream As NotesStream
Dim node As NotesDOMNode
Dim node1 As NotesDOMNode
Dim x As String
x= "D:\javap\Test.xml"
Set stream = session.CreateStream()
stream.open(x)
Set domParser = session.CreateDOMParser(stream)
domParser.Process
Set domdoc = domparser.Document
Set domele = domparser.Document.DocumentElement
Set domlist = domele.GetElementsByTagName("TagName")
Set node = domlist.GetItem(1)
Msgbox node.FirstChild.NodeValue