On Mon, Jan 21, 2002 at 11:33:24AM -0500, Tod Harter wrote: > Isn't the answer then to NOT have the PI in the original data? I mean if you > sometimes need it and sometimes don't then the stylesheet isn't really PART > of the document, its really a part of the processing chain that uses that > document, so the processing chain should provide that information... In other
Well, how it works for me is like this: A website consists of a number of documents, edited by different people, possibly using different tools. Diversity. However, they *do* conform to the same DTD and the central stylesheets make sure that the site has a consistent look. The XML editor we use (and make and sell) works with CSS and it makes sense to associate an XML file with its CSS file, just like it contains a system id for the DTD. We also made sure you could switch the generation of the PI off and the internal history of recently used files also maintains the association, but that hides it. I like to keep things like that clearly visible. If I want to give the XML document to someone else, the CSS url will also work for him, whether he uses a different editor or a browser like Mozilla. That's all a good thing, as long as it's about this individual document. When you publish it on the website, the rules change and we dictate the style. Having the *option* of switching it off is a good thing. -- Bart. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
