-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well, nothing says "I am bored" like writing a DTD at 3 in the morning,
but here it is anyway. ;-> This deals with all the tags I could find,
both in the text documents and the AbiWord exporter. However, the
exporter does lots of stuff automatically, so I probably missed some
stuff. Also, a current version will be available on my webpage, at
http://bur-jud-118-039.rh.uchicago.edu/abiword/abiword.dtd
For validators, I reccomend the one at www.stg.brown.edu/service/xmlvalid.
If you find anything that doesn't validate, let me know.
to reference the dtd, add the following line after the xml tag:
<!DOCTYPE abiword PUBLIC "-//SAM//Abiword Current//EN"
"http://bur-jud-118-039.rh.uchicago.edu/abiword/abiword.dtd">
The identifier (the //SAM// thing) doesn't mean anyting, but one is
required.
sam th
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE4sQXSt+kM0Mq9M/wRAiMKAKDBwVzOXCnQUwtw6PiMo/ZzjjqZEACdFg1/
N9Wa35iR0rJTvTHcfvZEOWI=
=ELsK
-----END PGP SIGNATURE-----
<!ELEMENT abiword (styles?, section+, data?)>
<!ATTLIST abiword
version CDATA #IMPLIED>
<!ELEMENT styles (s*)>
<!ELEMENT s EMPTY>
<!ATTLIST s
basedon CDATA #IMPLIED
name CDATA #REQUIRED
props CDATA #IMPLIED>
<!ELEMENT section (p+)>
<!ATTLIST section
props CDATA #IMPLIED
type CDATA #IMPLIED
id ID #IMPLIED>
<!ELEMENT p (#PCDATA | c | field | image | cbr | pbr | br)*>
<!ATTLIST p
props CDATA #IMPLIED>
<!ELEMENT c (#PCDATA)>
<!ATTLIST c
props CDATA #IMPLIED>
<!ELEMENT field EMPTY>
<!ATTLIST field
type CDATA #REQUIRED>
<!ELEMENT data (d+)>
<!ELEMENT d (#PCDATA)>
<!ATTLIST d
name CDATA #REQUIRED>
<!ELEMENT image EMPTY>
<!ATTLIST image
dataid CDATA #REQUIRED
props CDATA #IMPLIED>
<!ELEMENT br EMPTY>
<!ELEMENT pbr EMPTY>
<!ELEMENT cbr EMPTY>