desc.GetXMLXPathElement.txt Maven / Gradle / Ivy
Return the XML element given the xpath expression.
Example:
| ${first_book}= | `Get XML XPath Element` | //catalog/book[1] | # This is similar to specifying "//catalog/book" as xpathExpression since this will only return a single element |
Result:
| ${first_book} =
| Element [0]:
|
| Gambardella, Matthew
| XML Developer's Guide
| Computer
| 44.95
| 2000-10-01
| An in-depth look at creating applications with XML.
|