Action: OutputDOM

Purpose: Outputs the entire selected DOM as a stream of XML

Action-specific name/value pairs:

Parameter Name Description
DocumentName or DocumentOID The Name or OID of the document that is to be output.

Example Request

Action=OutputDOM
&DocumentName=myExample
&MDBAccessKeyId=[your access key id]
&Signature=[computed signature]
&SignatureMethod=HmacSHA256
&SignatureVersion=2
&Timestamp=2009-06-14T13%3A19%3A41
&Version=2009-04-15
&db=mdbx

Example Response

<doc>
   <foo id="theid" location="Drumcondra">
      <bar name="Cat and Cage">
         pub 1
      </bar>
      <bar name="Fagan's" owner="John" tied="true">
         pub 2
      </bar>
      <offlicense name="oddbins" />
      <bar name="Gravedigger's">
         pub 3
      </bar>
      <bar name="Ivy House">
         pub 4
      </bar>
   </foo>
   <foo location="Town">
      <bar name="Peter's Pub">
         pub 5
      </bar>
      <bar name="Grogan's">
         pub 6
      </bar>
      <bar name="Hogans's">
         club 1
      </bar>
      <bar name="Brogan's" owner="James" tied="false">
         pub 8
      </bar>
      <bar closed="yes">
         pub 9
      </bar>
      <offlicense name="unwins" />
   </foo>
   <aaa>
      <bbb>
         <bar name="Robin Hood">
            pub 10
            <beer name="guinness" />
            <beer name="tetleys" />
         </bar>
         <bar>
            As yet un-named pub
         </bar>
      </bbb>
      <foo>
         <ccc />
      </foo>
   </aaa>
</doc>

Note that the unmodified contents of the specified XML document will be output. M/DB:X will not add any other tags or wrappers to the output. This allows M/DB:X to be used as a true XML Document Store.