Re: variable dtd path

Subject: Re: variable dtd path
From: Claudio Sacerdoti Coen <sacerdot@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Jun 2000 19:19:53 +0200
On Wed, Jun 28, 2000 at 12:06:13 -0400, xsl list wrote:
> I need to validate the xml, hence, am adding the <!DOCTYPE ... > to all my 
> xml files and ruuning xalan as such:
> xalan -in file.xml -validate
> Can I make the dtd path variable so I would not have to edit all the files 
> if it changes?

 For the same problem I am using this solution:

 <!DOCTYPE Definition SYSTEM "http://localhost:8081/getdtd?url=cic.dtd";>

 where the URL is the one of a CGI/XSP/<<whatever dynamic thing you want>>
 that, given the name ("cic.dtd") of the dtd, recovers it.

 						Hope it helps,
						    C.S.C.

-- 
----------------------------------------------------------------
Real name: Claudio Sacerdoti Coen
Undergraduate Computer Science Student at University of Bologna
E-mail: sacerdot@xxxxxxxxxxx
http://caristudenti.cs.unibo.it/~sacerdot
----------------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread