Chaiwa,
When you're writing an XPath expression you no longer use the syntax - you can reference the value directly. So, try
(pseudocode):
Cheers,
Will
ยทยทยท
On Mon, Oct 2, 2017 at 4:24 PM, Chaiwa Berian wrote:
Dear CommCare Users,
Why would this piece of code fail to work?:
You currently have <output value="count(instance('casedb')/casedb/case[@case_type
= 'care_group'][health_facility = ])" /> Care Groups. Are you sure you want to add another one?
Every time I try to save, I get this error:
https://lh3.googleusercontent.com/-701RNHCBOsk/WdKfhS9nljI/AAAAAAAACVM/SJfaT8Kce3QeUL1wN524d1Ucptgiq6e-wCLcBGAs/s1600/xml_error.PNG
Any help?
Thanks and kind regards,
Chaiwa.
https://lh3.googleusercontent.com/-701RNHCBOsk/WdKfhS9nljI/AAAAAAAACVM/SJfaT8Kce3QeUL1wN524d1Ucptgiq6e-wCLcBGAs/s1600/xml_error.PNG
https://lh3.googleusercontent.com/-701RNHCBOsk/WdKfhS9nljI/AAAAAAAACVM/SJfaT8Kce3QeUL1wN524d1Ucptgiq6e-wCLcBGAs/s1600/xml_error.PNG
--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.