Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-401

extension property for converting child element to XML attribute

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: s5
    • Fix Version/s: never
    • Component/s: Back End, Front End
    • Labels:
      None

      Description

      We need an extension to DFDL to allow schema authors to declare they would like a element child to instead appear in an XML-conversion of the DFDL infoset as an XML attribute.

      So instead of <foo><bar>1</bar><baz>2</baz></foo>, you can get the more human friendly <foo bar="1" baz="2"/> as the XML-conversion.

      The property cannot be in the DFDL property namespace; hence daffodil: prefix, not dfdl: prefix:

      Possible names: daffodil:asXMLAttribute="true" or daffodil:XMLConversion="asAttribute"

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks