Download Delve® SOA Fast-Prototyping Toolkit (Beta 1.0)
| Tutorials - How To Use XPath to Set and Get Element Values |
Page 3 of 3 |
If there is more than one element with the same name, then Tectonic gets all of them, placing them in an array. Suppose we have an XML document that represents a bookstore…

… and access it using the following code:

Then we can display each individual book element instance in the store like so:

|
|
|