Changes for page Transformation - XPath Basic
Last modified by Erik Bakker on 2023/01/24 15:10
From version 28.1
edited by Erik Bakker
on 2022/08/09 08:32
on 2022/08/09 08:32
Change comment:
There is no comment for this version
To version 29.1
edited by Erik Bakker
on 2022/08/09 08:33
on 2022/08/09 08:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -33,8 +33,8 @@ 33 33 34 34 === 3.2 Reading and Writing XPath === 35 35 36 -The simplest XPath is /. This simply means access the root of the **input** message. So to access the root of your **input** message you write down one forward-slash (/). 37 -If you want to access an element below the root directly you can use two forward slashes (//) to start your XPath expression. 36 +The simplest XPath is /. This simply means access the root of the **input** message. So to access the root of your **input** message you write down one forward-slash (i.e. /). 37 +If you want to access an element below the root directly you can use two forward slashes (~//) to start your XPath expression. 38 38 39 39 For example, take a look at the following **input** message: 40 40 ... ... @@ -73,7 +73,7 @@ 73 73 **Relative XPath** 74 74 75 75 * Finds the element(s) in the whole message, not considering the structure. 76 -* Starts with the double forward-slash (~//), which means it can search the element anywhere at the message. 76 +* Starts with the double forward-slash (i.e. ~//), which means it can search the element anywhere at the message. 77 77 78 78 === 3.4 Namespaces === 79 79