[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Program to evaluate a set of DTD files
Subject: Re: [xsl] Program to evaluate a set of DTD files From: "Betty Harvey" <harvey@xxxxxxxxxx> Date: Thu, 7 Jun 2012 15:07:50 -0400 (EDT) |
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 > > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Betty Harvey | Phone: 410-787-9200 FAX: 9830 Electronic Commerce Connection, Inc. | harvey@xxxxxxxxxx | Washington,DC XML Users Grp URL: http://www.eccnet.com | http://www.eccnet.com/xmlug /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/ Member of XML Guild (www.xmlguild.org)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Program to evaluate a set, Echlin, Robert | Thread | Re: [xsl] Program to evaluate a set, Chris Maloney |
Re: FW: [xsl] space in a url, Vasu Chakkera | Date | Re: [xsl] Program to evaluate a set, Chris Maloney |
Month |