Changes for page Transformation - XPath Basic
Last modified by Erik Bakker on 2023/01/24 15:10
From version 35.1
edited by Erik Bakker
on 2022/08/09 12:25
on 2022/08/09 12:25
Change comment:
There is no comment for this version
To version 36.1
edited by Carlijn Kokkeler
on 2022/10/05 11:42
on 2022/10/05 11:42
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ebakker1 +XWiki.CarlijnKokkeler - Content
-
... ... @@ -40,6 +40,14 @@ 40 40 41 41 [[image:Main.Images.Microlearning.WebHome@crashcourse-platform-create-transformation-xpath-basic--basic-input-message.png]] 42 42 43 +{{code language="xml"}} 44 +<Projects> 45 + <Project> 46 + <ID>1<</ID> 47 + </Project> 48 +</Projects> 49 +{{/code}} 50 + 43 43 When I want to write a "path" to Projects I would only have to write down / and that is it. However, when I want to write a "path" to Project I have two options. 44 44 I can either start at the root (Absolute XPath) and navigate down from there which would give me /Projects/Project as a valid XPath expression. 45 45 On the other hand, I could also start directly at the Project element (Relative Xpath) which would give me //Project as a valid XPath expression.