Last modified by Eva Torken on 2023/08/10 12:06

From version 20.2
edited by eMagiz
on 2022/06/09 11:35
Change comment: Update document after refactoring.
To version 21.1
edited by eMagiz
on 2022/06/09 11:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -intermediate-create-your-transformations-xpath-intermediate
1 +Transformation - XPath Intermediate
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.marijn
1 +XWiki.eMagiz
Content
... ... @@ -1,13 +1,7 @@
1 -{{html wiki="true"}}
2 -<div class="ez-academy">
3 - <div class="ez-academy_body">
1 +{{container}}
2 +{{container layoutStyle="columns"}}
3 +(((
4 4  
5 -<div class="doc">
6 -
7 -
8 -
9 -= Transformation * XPath Intermediate =
10 -
11 11  Within the crash course, we already explained XPath conceptually. In that same microlearning, we also looked at some more uncomplicated cases of using XPath within your transformation. If you need to brush up on that knowledge, please check out this [microlearning](crashcourse-platform-create-transformation-XPath-basic). In this microlearning, we will build upon that knowledge and look at some concrete, practical examples that we see are used a lot across projects.
12 12  
13 13  Should you have any questions, please get in touch with academy@emagiz.com.
... ... @@ -75,14 +75,12 @@
75 75  
76 76  Sometimes you need to get part of a string in your output. The default transformation tooling of eMagiz provides you with a friendly UI for this option in which you only have to define the start position and the length of the string you want as your output.
77 77  
78 -<p align="center">[[image:intermediate-create-your-transformations-xpath-intermediate--substring-transformation-tooling.png||]]</p>
72 +[[image:Main.Images.Microlearning.WebHome@intermediate-create-your-transformations-xpath-intermediate--substring-transformation-tooling.png]]
79 79  
80 80  Translating that into an XPath would yield the following result: **substring(SomeAttribute,1,9)**.
81 81  
82 82  With this, we have learned about some frequently used XPaths in (custom) transformations that we see are being used within the eMagiz platform. We will pick up the subject of XPath later on once more to delve even deeper into the world of XPath.
83 83  
84 -===== Practice =====
85 -
86 86  == 4. Assignment ==
87 87  
88 88  Check out which of the XPaths we have discussed today can be found within your project.
... ... @@ -110,10 +110,7 @@
110 110  == 7. Silent demonstration video ==
111 111  
112 112  As this is more of theoretical microlearning, there is no video accompanying the microlearning.
105 +)))
113 113  
114 -</div>
115 -
116 -</div>
117 -</div>
118 -
119 -{{/html}}
107 +((({{toc/}}))){{/container}}
108 +{{/container}}