Skip to content
Discussion options

You must be logged in to vote

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:

      // In this case the field is an attribute of a field in the XML, technically this makes a
      // difference and we have to handle this wit…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@elerik
Comment options

Answer selected by rouschr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request fields Related to field metadata (/fields/fields.json)
2 participants