Uploaded image for project: 'XForms Module'
  1. XForms Module
  2. XFRM-120

Update Default XSLT for complex observations

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • None
    • Medium

    Description

      A recent ticket allows for new handlers to provide more complex schema segments for complex observations in form schemata. The XSLT needs to consume these segments properly. The best way to do this is by using the associated handler's serializeFormData() method.

      Using a technique recommended by burke, the XSLT should recognize a handler name from an attribute on the observation node, instantiate it and call the serializeFormData() method. The results should then be entered into the value section of the resulting OBX segment.

      See this brief tutorial for an example. It may depend on the specific library used to apply the XSLT as to whether this can be done. If it is not possible, then we should enhance the XformsQueueProcessor to essentially do the same thing. The benefit of doing it in XSLT is that Form Entry will benefit as well.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                wyclif Wyclif Luyima
                jeremy Jeremy Keiper
                Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 1 day
                    1d
                    Remaining:
                    Time Spent - 6 hours Remaining Estimate - 2 hours
                    2h
                    Logged:
                    Time Spent - 6 hours Remaining Estimate - 2 hours
                    6h