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?
最佳答案
S
SystemWeaver
说
超过7年 以前
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
说
超过7年 以前
回答
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
查看所有33话题