[Xsltforms-support] Saving a node value in a repeat
Brought to you by:
alain-couthures
From: Elias M. <eli...@gm...> - 2013-03-18 19:21:01
|
Hi. Is there any way to save a node value inside a repeat, but not in an action (like using setvalue)? I have a nested repeat and from the inner repeat I want to access a value from the outer repeat as I am displaying them, not when I click on a cell. For example, let's say I have 2 instances: one holds car information, the other truck information, a third hold companies, and some companies makes trucks and cars. In the companies instance there is a node that refers to the ids of the car/trucks they make. I want to list a matrix with cars as columns and trucks as rows and highlight the cells in which the same company makes both. It's like a cross-reference between instances. The code I have is very complex and runs within an XQuery script. If you can help me figure this out from the description above, cool. Otherwise I'll try to put an example together. Thanks. Elias |