I’m writing a report in which I use a Context. Is there a
way to use path to traverse context and do some filtering?
Best Answer
S
SystemWeaver
said
over 7 years ago
Hi Martin,
Yes. Within a <ForEachInContext ...> you can traverse a Context by using <ForEach select=".."> or <If test="..."> or other tags that handles path. This is done by indicating that it is the Context that should be traversed by starting the path expression with "Context:" e.g. <Foreach select="Context:/back::docs/sections ...">.
Please let us know if that worked.
Regards
Martin
1 Comment
SystemWeaver
said
over 7 years ago
Answer
Hi Martin,
Yes. Within a <ForEachInContext ...> you can traverse a Context by using <ForEach select=".."> or <If test="..."> or other tags that handles path. This is done by indicating that it is the Context that should be traversed by starting the path expression with "Context:" e.g. <Foreach select="Context:/back::docs/sections ...">.
SystemWeaver
I’m writing a report in which I use a Context. Is there a way to use path to traverse context and do some filtering?
Hi Martin,
Yes. Within a <ForEachInContext ...> you can traverse a Context by using <ForEach select=".."> or <If test="..."> or other tags that handles path. This is done by indicating that it is the Context that should be traversed by starting the path expression with "Context:" e.g. <Foreach select="Context:/back::docs/sections ...">.
Please let us know if that worked.
Regards
Martin
SystemWeaver
Hi Martin,
Yes. Within a <ForEachInContext ...> you can traverse a Context by using <ForEach select=".."> or <If test="..."> or other tags that handles path. This is done by indicating that it is the Context that should be traversed by starting the path expression with "Context:" e.g. <Foreach select="Context:/back::docs/sections ...">.
Please let us know if that worked.
Regards
Martin
-
Comparing two versions of a structure
-
Overview of meta model
-
Importing old data
-
Cannot find multiple version items
-
Accumulated bar chart
-
Cannot remove part - is referenced
-
View of non accessable data
-
Path: How to check if an attribute is empty?
-
List and path language
See all 33 topics