[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Paul Terray Sent: Monday, February 26, 2001 7:22 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: 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@xxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|