|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: variable dtd path
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








