Dearest Tod, On Wednesday 30 January 2002 22:58, Tod Harter wrote: > > You could put them in a dtd file and have DOCTYPE include that file. I > > wouldn't do that personally because I hate Doctype declarations and the > > such, as well as entities. Alternatives could include 1) using XInclude, > > 2) using XSLT's (or whatever else supports that) document() function to > > swallow them in, 3) putting part of that data in the XSLT file, which is > > what I do for navigation structure most of the time these days (you can > > then access the structure from document('')). > > I think I just love to argue with Robin, but IMHO there is nothing wrong > with DOCTYPE at all...
All I said was "I wouldn't do that personally because I hate Doctype declarations and the such, as well as entities." I made no technical, moral, or political statement that it was wrong. I just think it SBDC [1]. I don't like them, I wish they were kicked out of XML 2.0, but then I don't get to decide, and I'm happy with other people using them in the same way that I'm happy with other people using Java or VB. > It defines the SCHEMA for the document, IE what its > structure should be Albeit in a lousy way compare to modern solutions such as Schematron or RelaxNG. > As to it being a maintenance headache. I'm not sure. If you change your > doctype you would essentially be changing the syntax of your document. Yes and no. Does the syntax of your document change if you relocate /sidebar.xml to /includes/sidebar.xml ? I don't think it does. But in this case you need to update all the other files, which imho is a maintance headache. Imho that's why having the location of included files pointed to from a single place and not a dozen is better. [1] if you don't know that acronym, I'm afraid I'll have to let you guess, or ask Mike who coined it. -- _______________________________________________________________________ Robin Berjon <[EMAIL PROTECTED]> -- CTO k n o w s c a p e : // venture knowledge agency www.knowscape.com ----------------------------------------------------------------------- Don't panic. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]