I have to check the value of an attribute in a parent node in reporterPLUS to for evaluating a conditional statement for outputting attributes of a child node. How do you use the Path notation to navigate to these parent attributes and get the values?
Pinned topic Using Q language in ReporterPLUS to check an attribute in a parent node.
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-27T12:40:00Z at 2012-11-27T12:40:00Z by SystemAdmin
Re: Using Q language in ReporterPLUS to check an attribute in a parent node.2009-03-23T10:17:19ZThis is the accepted answer. This is the accepted answer.The below query evaluates the parent's attribute (patt) and then gives the child attribufte' name if TRUE else gives nothing.
if there_exists x in owner->baseClassifiers->attribute => $name = "patt" and $attDefaultValue = "20" then $name else ""
Hope this helps,
Re: Using Q language in ReporterPLUS to check an attribute in a parent node.2012-11-27T12:40:00ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK