Re: [Xsltforms-support] Problems with instance namespace and xsi:type

2012-11-01 Thread Elias Mazur
Hi Alain. Thanks for the quick reply. Yes I can add a prefix in the instance. I'll do that and let you know. But, if you re-define xmlns within the root element of the instance, shouldn't it be the default namespace from that point on? We were using MozzIE before we decided to go XSLTForms an

Re: [Xsltforms-support] Problems with instance namespace and xsi:type

2012-11-01 Thread Alain Couthures
Hello Elias, Welcome to XSLTForms support list! I suspect a namespace issue: there is no prefix in your example and XForms assumes that the default namespace to be its own. Is it possible for you to add a prefix in your instance, at least just for test purposes? Thank you for your feedback

[Xsltforms-support] Problems with instance namespace and xsi:type

2012-11-01 Thread Elias Mazur
Hi. I'm trying to create an instance that has an xsi:type attribute. The instance defines the xsi namespace and xsi:schemaLocation at the root element as follows: http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="urn:hl7-org:v3 http://localhost:8080/exist/rest/db/studydata/schemas/

Re: [Xsltforms-support] unpredicatble submission behaviour

2012-11-01 Thread Alain Couthures
Hi, Sorry, AVT for XForms submission is not supported in XForms 1.1 and XSLTForms, use resource sub-element instead: http://www.w3.org/TR/xforms11/#submit-resource-elem XPath 2.0 is not supported either, BTW, but there is the choose() function: http://www.w3.org/TR/xforms11/#fn-choose -Alain

Re: [Xsltforms-support] unpredicatble submission behaviour

2012-11-01 Thread Dan McCreary
Hi Immanuel, Perhaps you should consider using HTTP POST and creating a save.xq similar to the one in the Beginner's Guide. The problem with PUT is that you must make sure that you have write access and this opens up security concerns. HTTP POST allows you to use the request:get-data() to get th