Questions tagged [ixmldomnode]

10 questions
12
votes
2 answers

Excel VBA getting specific node from XML

I have an XML file from a URL API (the URL I have not shared since it allows access to secure info). From this file I want to get certain info out. My problem is, once I am in the parent node (eventNode) I want to simply be able to get the data from…
yoz1234
  • 129
  • 1
  • 1
  • 8
6
votes
1 answer

How do I initialize an IXMLDOMNode in VBA?

When I use the this code in an Excel VBA macro: Dim xmlKnoten As New IXMLDOMNode I always get an error. How do I initiate it right? The initiation of an DOMDocument works: Dim xmlDoc As Object Set xmlDoc =…
kuli
  • 61
  • 1
  • 5
5
votes
1 answer

How compare Two XML Node Structures Delphi

Is there a way to compare two xml nodes in Delphi? I am using the MSXML parser and loading the xml into an IXmlDOMDocument2. The nodes are stored in an IXmlDOMNode. I would be ok using Delphi's TXMLDocument if it helps. I do not want to…
sse
  • 987
  • 1
  • 11
  • 30
2
votes
3 answers

How can I access element attributes from an IXMLDOMNode?

I'm building an XML DOM document in C++. My problem is this: I execute an XPATH query from an Element in my Document, which I know will return another Element. The elementPtr->selectSingleNode call returns an IXMLDOMNode. How can I gain access to…
Symmetric
  • 4,495
  • 5
  • 32
  • 50
1
vote
1 answer

how to parse xml-file in vb6 recursive

I'm new to vb6 and have to parse an xml document with a different depth of the tags like to following example: text1 text I'm using MSXML and trying to solve this problem…
moony
  • 424
  • 1
  • 7
  • 20
1
vote
1 answer

SelectSingleNode IXMLDOMNode

I've a XML file and read it with SelectSingleNode in IXMLDOMNode. (Delphi-XE3) XMLResult : IXMLDOMNode; XMLResult.xml is below
Ali Cetinturk
  • 79
  • 1
  • 10
0
votes
2 answers

DOMElement in Delphi

how i can use .getElementsByTagName in DOMNodeList Object ? Like: procedure TForm1.selecionarClick(Sender: TObject); var DOMDocument: iXMLDOMDocument; DOMNodeList: iXMLDOMNodeList; DOMNode: iXMLDOMNode; DOMElement: iXMLDOMElement; …
XML4Parse
  • 1
  • 1
  • 1
0
votes
1 answer

XML processing child nodes in loop using Java

Could someone help me with Java code to get this XML processed and get the output mentioned at the end. Thanks in advance. XML File:
Itok
  • 23
  • 1
  • 6
0
votes
1 answer

memoryleak (node) in IXMLDocument AddChild

Apparently there is a memory leak in this code: procedure TForm1.Button1Click(Sender: TObject); var doc: IXMLDocument; begin doc := TXMLDocument.Create(Nil); doc.Active := True; doc.AddChild('test'); doc := Nil; end; Clicking on the…
vincent
  • 78
  • 7
0
votes
2 answers

dom in PHP saves new content over the old File

Each time i do $country = $this->dom->saveXML(); // put string in country $this->dom->save('country.xml'); It delets the old country.xml and creates a new country.xml how can i append the old content of country.xml to the new content and save it…
streetparade
  • 32,000
  • 37
  • 101
  • 123