Bidirectional XML mapping

Publication Type  Conference Paper
Year of Publication  2004
Authors  Chun, Ben
Conference Name  OSC Conference 2004
Conference Start Date  30/07/2004
Abstract  We present a standard for bidirectional mapping of arbitrary OSC packets to and from XML documents. Such a mapping is already in use as part of the "flosc" implementation of OSC for Macromedia Flash; the purpose of the standard is to ensure that future uses of XML to represent OSC data will be consistent and mutually compatible.

The nested structure of OSC bundles containing OSC messages containing type-tagged arguments is represented naturally by nested XML tags, as in this example:

<OSCPACKET>
 <BUNDLE TIME="02f43cb23450a3e4">
  <MESSAGE ADDRESS="/oscillators/2/freq">
    <ARG_f>440</ARG_f>
   </MESSAGE>
  <MESSAGE ADDRESS="/oscillators/2/amp">
    <ARG_f>0.5</ARG_f>
  </MESSAGE>
 </BUNDLE>
</OSCPACKET>
  
Export  EndNote Tagged | XML | BibTex