xsl-list
[Top] [All Lists]

Re: [xsl] Program to evaluate a set of DTD files

2012-06-07 14:06:23
Rob:

I use a utility written in Perl by Earl Hood to do this type of analysis
on DTDs.  Since the utility pre-XML it supports both SGML and XML DTD's. 
The utility is called 'dtd2html'.  It is really nice utility because it
shows you the content model as well as the parents and children of the
element.  Pretty handy!

I think you should be able to find it by doing a Google search but if not,
let me know.

Betty

Hi
Given a set of DTD files, with entities and parameter entities in two or
more files, including entities redefined in more than one place
(overridden), is there a way to ask a parser to describe the net effect
for each element?
For instance, can XSLT ask the parser for the allowed elements or
attributes in a given element, and the actual element rule, example:
-   title contains  (#PCDATA | b | i )*

The purpose of this is to test that the result of using a given DTD is
still unchanged after I change the entities, by for instance, replacing
some text with a parameter entity.

Thanks,
Rob

--
Rob Echlin, Documentation Systems Architect, Wind River
+1.613.270.5796 | Skype: rob.echlin.wr
WR Jive - https://communities.windriver.com/people/rechlin


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone:  410-787-9200  FAX: 9830
Electronic Commerce Connection, Inc. |
harvey(_at_)eccnet(_dot_)com                    | Washington,DC XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
Member of XML Guild (www.xmlguild.org)

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--