Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
jvx:common:util:xml [2018/02/02 09:38]
admin created
jvx:common:util:xml [2020/06/29 14:52] (current)
cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation)
Line 2: Line 2:
 ~~Title: Use XmlWorker and XmlNode~~ ~~Title: Use XmlWorker and XmlNode~~
  
-If you work with xml files it's not too easy to use the right parser because there are some of them and if you want a simple parser without writing a lot of source code you need some luck.+If you work with XML filesit's not too easy to use the right parser because there are many of them andif you want a simple parser without writing a lot of source codeyou need some luck.
  
 We added two classes to JVx that solves simple XML handling. We added two classes to JVx that solves simple XML handling.
Line 75: Line 75:
 </​file>​ </​file>​
  
-Read/​Insert/​Set tags+Read/​Insert/​Set tags:
  
 <file java> <file java>
Line 121: Line 121:
 </​file>​ </​file>​
  
-It's easy to access and modify information in XML file. We use '/'​ as spearator ​for navigate ​through the hierarchy and **(n)** to access tags from a list of tags.+It's easy to access and modify information in an XML file. We use '/'​ as separator ​for navigating ​through the hierarchy and **(n)** to access tags from a list of tags.
  
-There are more useful methods e.g. find the index of a tag in a list of tags. The following example creates a XML structure in memory.+There are more useful methodse.g.find the index of a tag in a list of tags. The following example creates a XML structure in memory.
  
 <file java> <file java>
Line 155: Line 155:
 </​file>​ </​file>​
  
-The ''<​XmlNode>​.toString()''​ method returns the XML representation of the node and all sub nodes.+The ''<​XmlNode>​.toString()''​ method returns the XML representation of the node and all subnodes.
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information