-
There are 3 fields which has xPathRelative starting with "@" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is meant to say that the place in the XML where this information will be stored is inside the "listname" attribute.
Later there is some code setting the attribute value:
Note that we would like to simplify this later, by maybe providing the listname directly inside of the fields.json and/or notice types, so that you do not have to extract the listName from the xpath predicate. |
Beta Was this translation helpful? Give feedback.
This is meant to say that the place in the XML where this information will be stored is inside the "listname" attribute.
In that case while you generate the XML you have to create an attribute on the parent element.
This is case is covered in the editor demo XML generation code here:
https://github.com/OP-TED/eforms-notice-editor/blob/develop/src/main/java/eu/europa/ted/eforms/noticeeditor/helper/notice/PhysicalModel.java#L485 (note that the line can change, so this link is valid right now only)
Look for for "@" sign which stands for attribute: