0

Please, need your help.

I want to use an XML structure as an object, or just like an object of a class.

XML myObj = read it from file.

then

XmlNode node = myObj.SelectNode(NAME);

if (node != null) node.InnerText = "My text and my value";

I want to work with XML because will send it to pipe without serialization to C# machine. Where it will be deserialized from the XML.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
  • https://developer.android.com/training/basics/network-ops/xml.html –  Oct 17 '17 at 20:51
  • I would look at JSON format for this – Moog Oct 17 '17 at 21:04
  • For XML, look at [DocumentBuilder](https://developer.android.com/reference/javax/xml/parsers/DocumentBuilder.html) class. See this [example](https://stackoverflow.com/a/21538403/808940) – Moog Oct 17 '17 at 21:21
  • yes, it's called DOM bTree structure.. you'd add this as the answer also. –  Oct 17 '17 at 21:24

0 Answers0