Trace: • Use XmlWorker and XmlNode
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
jvx:common:util:xml [2020/06/29 14:48] cduncan Capitalization |
jvx:common:util:xml [2020/06/29 14:52] (current) cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
||
|---|---|---|---|
| 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 an 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 methods, e.g., find the index of a tag in a list of tags. The following example creates a XML structure in memory. | ||
