#!/bin/csh # Create the view in latex from the XXML Schema # Argument = xsd to process #################################################### # List of attributes cat $* | sgml2 -s -f attr.dic | gawk '/^ *$/{next}\ END{print e}\ /begin[{]tabular[}]/{ print ""}\ { if (n == 0) e=$0; else print; n++}\ ' | trim