[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Minor gsdoc DTD problem
From: |
Michael Saure |
Subject: |
Minor gsdoc DTD problem |
Date: |
Wed, 07 Jan 2004 01:36:41 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313 |
Hi,
while writing some XSL transformation for gsdoc documents I noted a
minor problem concerning the gsdoc 1.0.0 DTD. Definition lists are
defined as
<!ELEMENT deflist (term, desc)+>
While processing such a node hierarchy from a program based on SAX or
DOM APIs is no problem it at least seems "unclean" to me. I would rather
perfer a DTD declaration along the lines of
<!ELEMENT deflist (dlitem)+>
<!ELEMENT dlitem (term, desc)>
because it more closely mirrors the logical structure of a document
("cleanliness" ;-) ) and would make it much easier to define
translations using tools like XSL.
Any comments?
Greetings,
Michael
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Minor gsdoc DTD problem,
Michael Saure <=