All Downloads are FREE. Search and download functionalities are using the official Maven repository.

desc.GetXMLXPathElements.txt Maven / Gradle / Ivy

Return the list of XML elements given the xpath expression.

Example:
| ${author}= | `Get XML XPath Elements` | //catalog/book[1]/author |
| ${books}= | `Get XML XPath Elements` | //catalog/book  |
| ${titles}= | `Get XML XPath Elements` | //catalog/book[*]/title |

Result:
| ${author} =
| Element [0]:
| Gambardella, Matthew
|
| ${books} =
| Element [0]:
| 
|   Gambardella, Matthew
|   XML Developer's Guide
|   Computer
|   44.95
|   2000-10-01
|   An in-depth look at creating applications with XML.
| 
| Element [1]:
| 
|   Ralls, Kim
|   Midnight Rain
|   Fantasy
|   5.95
|   2000-12-16
|   A former architect battles corporate zombies, an evil sorceress, and her own childhood to become queen of the world.
| 
| Element [2]:
| 
|   Corets, Eva
|   Maeve Ascendant
|   Fantasy
|   5.95
|   2000-11-17
|   After the collapse of a nanotechnology society in England, the young survivors lay the foundation for a new society.
| 
|
| ${titles} =
| Element [0]:
| XML Developer's Guide
| Element [1]:
| Midnight Rain
| Element [2]:
| Maeve Ascendant




© 2015 - 2024 Weber Informatics LLC | Privacy Policy