-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add type=xml-external #107
Comments
I changed the above type to Is anybody opposed to, or excited about, a PR that adds this feature? |
- As mentioned in XLSForm#107 - Similar to select_one_from_file or pulldata, except instance only - Included some tidy-up of the common instance generating functions - Lots of tests
This is nice! There are a couple of things that come to mind that perhaps could be handled separately but that may affect the
For those two reasons, I'd like to propose that the |
Yes, that sounds perfect to me to change the type to |
The name change from For the xml-internal, I think it's possible to abuse |
Feature/external instance #107
Change title of this issue to use xml-external instead of xml-data? |
We have the convenience types
select_one_from_file name.xml
andselect_multiple_from_file name.xml
and a convenience functionpulldata
that all 3 automagically add an<instance>
to the model.This issue, for discussion, is to explicitly only add an instance, e.g.
produces:
This would cater to complex calculations that query external data without restrictions, for example:
Note that this might make
select_one_from_file
andselect_multiple_from_file
redundant (which is totally fine) , as you could feasibly use type=xml-external and type=select_one to produce the same XForm output.Updated: type now named
xml-external
The text was updated successfully, but these errors were encountered: