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

extension property for converting child element to XML attribute

XMLWordPrintableJSON

    • Icon: Wish Wish
    • Resolution: Unresolved
    • Icon: Normal Normal
    • never
    • s5
    • Back End, Front End
    • None

      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"

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

                Created:
                Updated: