LIGO_LW XML Format Guidelines


The LIGO_LW( LIGO lightweight ) XML format is a subset of the XML( Extensible Markup Language ). The Lightweight API was designed to allow object-model access and customizing of the LIGO_LW format documents. More information about this format can be found in LIGO-T990023-01.

There are few guidelines to follow in creating LIGO_LW format documents which Lightweight API can process successfully.



Guidelines for the LIGO_LW header.

Each XML document has a prolog that can contain an XML declaration followed by a document type declaration( known as DTD ).



Guidelines for the LIGO_LW wrapping container.

Document content has to be enclosed into wrapping LIGO_LW container.


<LIGO_LW name="optional_name"> 
    ....
</LIGO_LW>    
           


Guidelines for specific LIGO_LW elements.



Table element


<Table Name="name">
   <Column Name="name1" Type="type1"/>
   <Column Name="name2" Type="type2"/>
   <Column Name="name3" Type="type3"/>
   <Stream Name="name" Type="locationType" Delimiter=",">
      ...delimiter separated stream data...
   </Stream>
</Table>
        

The following guidelines are to be observed for successful data insertion into ldas: