Skip to content

XpathRelative/XpathAbsolute misunderstanding structure #587

Answered by rouschr
user6330 asked this question in Q&A
Discussion options

You must be logged in to vote

We agree that the situation regarding attributes and xpath predicate for xml generation is difficult.
We gradually added new keys and new fields and nodes in the fields.json to help with this as this is highly requested.
SDK 1.7 has keys like "schemeName" in fields.json but only for some identifiers (if I remember correctly).
SDK 1.9 will introduce new attribute fields and attributeOf, attributeName and attributes to help with XML generation and form creation. For the time being in some cases you can get the schemeName from the xpath and for schemeName sometimes from schemeName in fields.json:

    "id" : "BT-137-Lot",
    "parentNodeId" : "ND-Lot",
    "name" : "Purpose Lot Identifier",
 …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
fields Related to field metadata (/fields/fields.json) xml generation Discussions on how to generate valid XML
3 participants