Changes for page Transformation - XPath Basic
Last modified by Erik Bakker on 2023/01/24 15:10
From version 41.1
edited by Carlijn Kokkeler
on 2022/10/05 11:54
on 2022/10/05 11:54
Change comment:
There is no comment for this version
To version 42.1
edited by Carlijn Kokkeler
on 2022/10/05 11:57
on 2022/10/05 11:57
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -118,7 +118,6 @@ 118 118 </sys:Status> 119 119 </sys:Projects> 120 120 {{/code}} 121 -[[image:Main.Images.Microlearning.WebHome@crashcourse-platform-create-transformation-xpath-basic--namespace-input-message.png]] 122 122 123 123 As you can see the notation has slightly changed. A prefix has occurred before each element and attributes called sys. To separate the prefix from the name of the element or attribute a colon (:) is used. 124 124 The XPath also needs to change to get the desired result. We need to take the prefix into account. This will result in the following valid XPath options: ... ... @@ -135,6 +135,9 @@ 135 135 136 136 Using the wildcard will result in the following valid XPath options: 137 137 137 +* /*:Projects 138 +* /*:Projects/*:Project 139 + 138 138 [[image:Main.Images.Microlearning.WebHome@crashcourse-platform-create-transformation-xpath-basic--wildcard-xpath.png]] 139 139 140 140 === 3.5 Custom XPath in Transformation ===