t***@gmail.com
2006-05-17 19:50:24 UTC
I am trying to create a script that will parse an SGML DTD and list the
elements that are actually accessible. Due to previous modularization,
there are elements that are declared in the DTD, but aren't accessible
from the appropriate base element. I currently have it set up to list
all of the elements declared by searching for the <!ELEMENT pattern,
but this doesn't ignore the elements that have been removed via
commenting or those that are declared but you can't use. Any ideas?
Tom
elements that are actually accessible. Due to previous modularization,
there are elements that are declared in the DTD, but aren't accessible
from the appropriate base element. I currently have it set up to list
all of the elements declared by searching for the <!ELEMENT pattern,
but this doesn't ignore the elements that have been removed via
commenting or those that are declared but you can't use. Any ideas?
Tom