-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
In my register document I have stored birth and death years as attribute values, e.g.
<person xml:id="xyz">
<forename>Max</forename>
<surname>Mustermann</surname>
<birth when-iso="0990"/>
<death when-iso="1044"/>
</person>
Now I would like to display those dates next to the names in the selection list in an InsertRegisterOperation. Currently my 'expression' parameter looks like this:
//*[local-name()="surname"] + ", " + //*[local-name()="forename"]+ " (" + //*[local-name()="birth"]/@when-iso + "-" + //*[local-name()="death"]/@when-iso + ")"
However, that only shows the names in the list, not the years (Mustermann, Max (-)). The only attribute value I am able to display in the list is the @xml:id of the <person> element by simply writing + @xml:id in the 'expression' field. How do I access the other attributes?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels