# $Id: Makefile,v 1.1 2000/06/16 23:04:50 connolly Exp $

PERL=perl

# hmm... pre.content is probably more of an abstract element/exemplar
# than a model group

xhtml11.xsd: dtd2xsd.pl xhtml11-flat.dtd
	$(PERL) dtd2xsd.pl \
		-prefix html -ns http://www.w3.org/1999/xhtml \
		-attrgroup '(coreattrs|i18n|events|focus|attrs)' \
		-attrgroup '(cellhalign|cellvalign)' \
		-simpletype 'Length.datatype' string \
		-simpletype 'LinkTypes.datatype' string \
		-simpletype 'MediaDesc.datatype' string \
		-simpletype 'MultiLength.datatype' string \
		-simpletype 'MultiLengths.datatype' string \
		-simpletype 'Number.datatype' nonNegativeInteger \
		-simpletype 'Pixels.datatype' nonNegativeInteger \
		-simpletype 'Script.datatype' string \
		-simpletype 'Text.datatype' string \
		-simpletype 'Character.datatype' string \
		-simpletype 'Charset.datatype' string \
		-simpletype 'Charsets.datatype' string \
		-simpletype 'ContentType.datatype' string \
		-simpletype 'ContentTypes.datatype' string \
		-simpletype 'DateTime.datetype' date \
		-simpletype 'FPI.datatype' string \
		-simpletype 'LanguageCode.datatype' NMTOKEN \
		-simpletype 'URI.datatype' uriReference \
		-simpletype 'URIs.datatype' string \
		<xhtml11-flat.dtd >$@

