This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Path for a DTD : proposition


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@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Paul Terray
Sent: Monday, February 26, 2001 7:22 AM
To: xsl-list@lists.mulberrytech.com
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
4Dconcept
Centre d'affaires - 22, rue Etienne de Jouy
78353 Jouy en Josas CEDEX
FRANCE
Tel. +33 (0)1 34 58 70 70 - Fax. +33 (0)1 39 46 06 90
email : terray@4dconcept.fr



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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]