Next Previous Up Contents
Next: ASCII
Up: Supplied Output Handlers
Previous: Column-oriented FITS

3.6.4 VOTable

The VOTable handler, VOTableWriter, can write VOTables in a variety of flavours (see Section 7.2). In all cases, a StarTableOutput will write a well-formed VOTable document with a single RESOURCE element holding one or more TABLE elements. The different output formats (TABLEDATA/FITS/BINARY, inline/href) are determined by configuration options on the handler instance. The default handler writes to inline TABLEDATA format.

The href-type formats write a (short) XML file and FITS or binary files with a similar name into the same directory, holding the metadata and bulk data respectively. The reference from the one to the other is a relative URL, so if one is moved, they both should be.

If the default VOTable output version is set to version 1.3 or greater, then the default options "votable-binary-inline" and "votable-binary-href" will be replaced by "votable-binary2-inline" and "votable-binary2-href". See Section 7.4.4 for more explanation.

For more control over writing VOTables, consult Section 7.4.


Next Previous Up Contents
Next: ASCII
Up: Supplied Output Handlers
Previous: Column-oriented FITS

STIL - Starlink Tables Infrastructure Library
Starlink User Note252
STIL web page: http://www.starlink.ac.uk/stil/
Author email: m.b.taylor@bristol.ac.uk