Hi All,
We had a discussion about data-pointds being identified by
archetype-path, not archetypenode-id.
I agree with that, but I am a bit confused how to do following.
consider following fantasy archetype
------------------------------------------
Entry[at0000] matches { -- Encounter
attribute1 matches {
SECTION[at0003] occurrences matches {0..1} matches {
items cardinality matches {0..*} matches {
ITEM_LIST[at0007] occurrences matches {0..1} matches {
items existence matches {0..1} cardinality
matches {0..*; unordered; unique} matches {
ELEMENT[at0008] occurrences matches {0..1}
matches {
value matches {
DV_TEXT occurrences matches {1..1}
matches {
value matches {/abc/}
}
}
}
}
}
}
}
}
attribute3 matches {
use_node ITEM_LIST /attribute1[at0003]/items[at0007]
}
attribute4 matches {
use_node ITEM_LIST[at0005] /attribute1[at0003]/items[at0007]
}
------------------------------------------
Now I want to know the path in the three ways to the data-point of value
of DV_TEXT
Which one is right, or are all wrong?
[archetype_id]/attribute1[at0003]/items[at0007]/items[at0008]/value/value
[archetype_id]/attribute3/items[at0008]/value/value
[archetype_id]/attribute4[at0005]/items[at0008]/value/value
or we have this (repeat the targetpath also in the path to the data-point)
[archetype_id]/attribute1[at0003]/items[at0007]/items[at0008]/value/value
[archetype_id]/attribute3/items[at0007]/items[at0008]/value/value
[archetype_id]/attribute4[at0005]/items[at0007]/items[at0008]/value/value
or is it like this (repeat the complete path of the targetpath)
[archetype_id]/attribute1[at0003]/items[at0007]/items[at0008]/value/value
[archetype_id]/attribute3/attribute1[at0003]/items[at0007]/items[at0008]/value/value
[archetype_id]/attribute4[at0005]/attribute1[at0003]/items[at0007]/items[at0008]/value/value
Thanks very much
Bert