RE: [xsl] Path for a DTD : proposition

Subject: RE: [xsl] Path for a DTD : proposition
From: "Ciaran Byrne" <ciaran.byrne@xxxxxxx>
Date: Mon, 26 Feb 2001 15:14:21 -0800
I'm also having this problem and I also use text parsing
to insert a SYSTEM DOCTYPE.

I would certainly see it as a welcome feature.

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Paul Terray
Sent: Monday, February 26, 2001 7:22 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Path for a DTD : proposition

Hi to everyone,

I'm having multiple problems with the XML parsing today, due to a simple
problem :
the URL localizing the DTD in the DOCTYPE element, with a SYSTEM
declaration or a PUBLIC declaration, has to be correct anytime.

This forces us to do a text parsing with transformation before being able
to parse the XML simply, which is hardly acceptable.

Now, we all know how SGML solved the problem, using the OASIS catalogs.
They are quite useful, but in my opinion, against the XML ease of use, and
standalone documents.

Now, there is a simpler way of handling it : what about having a parameter
to the XML parser, which is simply the root path of any DTD URL reference ?
Like a PATH variable, but for DTDs, that would be given as a parameter to
the XSLT program for example (something like "xslcommand in.xml sheet.xsl
out.html -dtdpath c:/my/dtd/path").

I know this sound like of naive, since most XML parsers are used in a more
global program, giving hooks on DTD declaration, but the use of XSL command
line is much more usual, and this is really a problem.

What do you think about it ?

Paul TERRAY - Documents Management Systems Engineer
Centre d'affaires - 22, rue Etienne de Jouy
78353 Jouy en Josas CEDEX
Tel. +33 (0)1 34 58 70 70 - Fax. +33 (0)1 39 46 06 90
email : terray@xxxxxxxxxxxx

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread