This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: variable dtd path
- To: xsl-list at mulberrytech dot com
- Subject: Re: variable dtd path
- From: Claudio Sacerdoti Coen <sacerdot at students dot cs dot unibo dot it>
- Date: Wed, 28 Jun 2000 19:19:53 +0200
- References: <20000628160613.8940.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
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@cs.unibo.it
http://caristudenti.cs.unibo.it/~sacerdot
----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list