This shows you the differences between two versions of the page.
|
xml_adaptor [2024/12/10 12:53] montse [Predefined Functions (PF):] |
xml_adaptor [2024/12/10 13:03] (current) montse [Predefined Functions] |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| * ** FilePath:** complete path of the file | * ** FilePath:** complete path of the file | ||
| - | ===== Predefined Functions (PF): ===== | + | ===== Predefined functions ===== |
| | | ||
| Line 23: | Line 23: | ||
| * **getElementsCountByXPath(XPath)**: returns the number of occurrences of the element, searching by XPath. | * **getElementsCountByXPath(XPath)**: returns the number of occurrences of the element, searching by XPath. | ||
| - | * **getElementsTextByTagName(Tag Name)**: returns Array string of elements text, searching by Tag name. | + | * **getElementsTextByTagName(Tag Name)**: returns array string of elements text, searching by Tag name. |
| - | * **getElementsTextByXPath(XPath)**: returns Array string of elements text, searching by XPath. | + | * **getElementsTextByXPath(XPath)**: returns array string of elements text, searching by XPath. |
| * **replaceElementAttrTextByXPath**: replaces the element attribute text, searching by Xpath and attribute name. | * **replaceElementAttrTextByXPath**: replaces the element attribute text, searching by Xpath and attribute name. | ||
| - | * **replaceElementTextByTagName(Tag Name, Position, New Text)**: replaces the Element´s text, searching by Tag Name and Position. | + | * **replaceElementTextByTagName(Tag Name, Position, New Text)**: replaces the element's text, searching by Tag Name and Position. |
| * **replaceElementTextByXPath**: replaces the element text, searching by Xpath and Position. | * **replaceElementTextByXPath**: replaces the element text, searching by Xpath and Position. | ||