Updating xml node using vb6
11th Software Engineering Institute (SEI) Architecture Technology User Network (SATURN) Conference May 4-8, 2015.
I need to process an XML file using People Code to change the value of an attribute inside a tag (The actual string inside the double quotes).
Value = 1 ' get their titles For i = 0 To (Nodes_Fantasy.
You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. Like this: It is certainly possible, one way to achieve that is by using System. Xml Document and load your XML document once, then work with the in-memory DOM document to add nodes, then later save the DOM document back to file: Dim doc As New Xml Document() doc. That is why most log files are just a glorified CSV file format.
Get Elements By Tag Name("Name" ); Local integer &i; While &name Nodes. Local array of Xml Node &name Nodes = &in XMLDoc.
Next(&i) Local Xml Node &name Node = &name Nodes\[&i\]; Local Xml Node &id Attribute = &name Node. Node Value = "New Value"; End-While; Can you give me a couple lines sample code? How do I get the List Items by Node into an array of nodes that are for that attribute. Get Elements By Tag Name(" Name" ); Local integer &i; While &name Nodes.Attribute value Attribute value Attribute value So, how do I change it?