%%% Illustration of VOTable definitions
%%% \oplus = required order 
%%% \opt{elem} = optional element

% Version 1.1
%\def\reste
\def\element#1{\elemdef{#1}{}}
%\def\optelem#1{{\em \elemdef{#1}{}}}
\def\optelem#1{{\fg{blue}$<$}{\footnotesize\em{\fg{DarkRed}#1}}{\fg{blue}$>$}}
\def\order{$\oplus$ }
\def\unorder{{\large $\circ$ }}
\def\mv{\quad}

\noindent\begin{tabular}{cccc}
\begin{tabular}{|l|}\hline
\element{VOTABLE}			\\
\order \optelem{DESCRIPTION} 	\\
\order \optelem{DEFINITIONS} 	\\
\mv \unorder \optelem{COOSYS}$\cdots$ 	\\
\mv \unorder \optelem{PARAM}$\cdots$ 	\\
\order \optelem{INFO}$\cdots$ 	\\
\order \underline{\element{RESOURCE}}$\cdots$ 	\\
\element{\slash VOTABLE}\\
\hline\end{tabular} 
&
\begin{tabular}{|l|}\hline
\element{RESOURCE}\\
\order \optelem{DESCRIPTION}	\\
\order \optelem{INFO}$\cdots$	\\
\order \underline{\optelem{PARAM}}$\cdots$	\\
\order {\optelem{LINK}}$\cdots$	\\
\order \underline{\optelem{TABLE}}$\cdots$	\\
\order \underline{\optelem{RESOURCE}}$\cdots$	\\
\element{\slash RESOURCE}\\
\hline\end{tabular}
&
\begin{tabular}{|l|}\hline
\element{TABLE}	\\
\order \optelem{DESCRIPTION}	\\
\unorder    \underline{\optelem{FIELD}}$\cdots$	\\
\unorder    \underline{\optelem{PARAM}}$\cdots$	\\
\unorder    \underline{\optelem{GROUP}}$\cdots$	\\
\order \optelem{LINK}$\cdots$	\\
\order \underline{\optelem{DATA}}	\\
\element{\slash TABLE}	\\
\hline\end{tabular}
&
  \begin{tabular}{|l|} \hline
  \element{DATA}     \\
  \unorder \begin{tabular}{l}
    $|$ \underline{\element{TABLEDATA}} \\ 
    $|$ \underline{\element{BINARY}} \\ 
    $|$ \underline{\element{FITS}}
    \end{tabular}\\
  \element{\slash DATA}\\
  \hline\end{tabular}
\\ \\
\begin{tabular}{|l|}\hline
\element{GROUP} \\
\order \optelem{DESCRIPTION}	\\
\unorder    \underline{\optelem{FIELD}}$\cdots$	\\
\unorder    \underline{\optelem{PARAM}}$\cdots$	\\
\unorder    \underline{\optelem{GROUP}}$\cdots$	\\
\element{\slash GROUP}\\
\hline\end{tabular}
&
\begin{tabular}{|l|}\hline
\element{PARAM}	\\
\order \optelem{DESCRIPTION}	\\
\order \underline{\optelem{VALUES}}	\\
\order \optelem{LINK}$\cdots$	\\
\element{\slash PARAM}\\
\hline\end{tabular}
&
\begin{tabular}{|l|}\hline
\element{FIELD}	\\
\order \optelem{DESCRIPTION}	\\
\order \underline{\optelem{VALUES}}	\\
\order \optelem{LINK}$\cdots$	\\
\element{\slash FIELD}\\
\hline\end{tabular}
& 
\begin{tabular}{|l|}\hline
\element{VALUES}	\\
\order \optelem{MIN}	\\
\order \optelem{MAX}	\\
\order \optelem{OPTION}$\cdots$	\\
\mv\unorder\optelem{OPTION}$\cdots$\\
\element{\slash VALUES}\\
\hline\end{tabular}
\\ \\
\begin{tabular}{|l|}\hline
\element{TABLEDATA}	\\
\order \optelem{TR}$\cdots$ \\
\mv\order \element{TD}$\cdots$ \\
\element{\slash TABLEDATA} \\
\hline\end{tabular}
&
\begin{tabular}{|l|}\hline
\element{BINARY}	\\
\order \element{STREAM} \\
\element{\slash BINARY} \\
\hline\end{tabular}
&
\begin{tabular}{|l|}\hline
\element{FITS}  \\
\order \element{STREAM} \\
\element{\slash FITS} \\
\hline\end{tabular}
&
%\begin{tabular}{|l|}\hline
%\element{LINK}	\\
%\element{\slash LINK} \\
%\hline\end{tabular}
\\
\end{tabular}
