Working with XML
XML nodes, attributes and text can be accessed as json syntax, but there are a couple of rules to take in account
Print a text node
xml
|
|
html
|
|
result
|
|
Print an attribute node
xml
|
|
html
|
|
result
|
|
Iterate over an array
xml
|
|
html
|
|
result
|
|
XML nodes, attributes and text can be accessed as json syntax, but there are a couple of rules to take in account
xml
|
|
html
|
|
result
|
|
xml
|
|
html
|
|
result
|
|
xml
|
|
html
|
|
result
|
|