|
From: Peter C. C. <pc...@ec...> - 2003-05-08 16:45:01
|
On Wed, 7 May 2003, Don Willems wrote: > >What are people's views on this matter? Fundamentally the way the raw > >document should look will depend on what people are using for editors. It > >seems like we need to make a statement about that since the defaults of > >one editor are likely to undo the changes made by another. Programmers > >have style conventions to address this sort of issue. Are there similar > >practices in the XML community? > > > I'm not sure, but I agree that it is something we should address. I looked around some on the 'net but I didn't find a whole lot. I did find one document created by a company that wanted all the XML produced to have a similar look. The document spelled out how blank lines were to be used, indentation depth, maximum line width, and other such things. It read very much like a style guide for programming and was no doubt inspired by such things. The document probably only made sense for the case when everyone was editing their XML with text editors. It seems like XML editors are more inclined to present the XML in an abstract way and tend to shield their users from the raw file format. The "output formatting" topic in XMLSpy's help shows the dialog where you can control the way XMLSpy "opens and saves documents". There aren't a whole lot of options suggesting to me that this is not something the makers of XMLSpy have spent much time worrying about. Peter |