Hi,
What are the differences in using the following document references in the XUpdate statement in a page-flow <result> element?
document('oxf:instance') document('input:instance') document('input:action')
'oxf:instance' is deprecated. It was thought that the using "oxf" as URI scheme was confusing, because "oxf" is also used as an actual structure URI scheme to access sandboxed resources. So 'oxf:instance' is equivalent to 'input:instance', but use 'input:instance' preferably.
document('input:instance') returns the XForms instance document.document('input:action') returns the result of the action pipeline, e.g. the document produced on the action pipeline's "data" output. Note that there is a proposal to use more explicit names, like using an "action" output on the action pipeline instead. This would make it consistent with the naming of the "instance" output.
and what other possibilities are there? For example, can I refer to the data output of the action pipeline (which is also used for the condition checks in the action elements)?
That is it for now, you can access the XForms instance and the action document.
-Erik
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ orbeon-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/orbeon-user
