You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you put an instance() expression in a note such as instance('stuff')/root/item[name=${thing}]/label, it's not recognized by pyxform. The XML output will be something like instance('stuff')/root/item[name=<output value=" /data/thing "/>]/label. This means any secondary instance property to display must be stored in a calculate.
Software and hardware versions
All versions
Problem description
If you put an instance() expression in a note such as
instance('stuff')/root/item[name=${thing}]/label
, it's not recognized by pyxform. The XML output will be something likeinstance('stuff')/root/item[name=<output value=" /data/thing "/>]/label
. This means any secondary instance property to display must be stored in a calculate.Steps to reproduce the problem
Put the expression above in a form. For example: https://docs.google.com/spreadsheets/d/1f1CN4o62T9m5IUIhaW3wS25ga1W9RNl6TFGktAQjMKY/edit#gid=0
Expected behavior
instance() expressions are also put in outputs.
Desired XML output: instance_notes.xml.zip
We also will need to think of where best to document this pattern.
The text was updated successfully, but these errors were encountered: