|
From: Don W. <don...@ma...> - 2003-05-07 14:45:21
|
> > >If I were working on this project alone I would definitely go with a >reformatting like this. However, maintaining such a format might be >difficult for people using editors that are not text editors. For example >it seems that XMLSpy removes the blank lines... an aspect of that editor >that I find highly annoying. Also XMLSpy won't automatically break a line >in an element... meaning that one has to manually manage all the line >breaks. That's a major drag. (In contrast Emacs can wrap them for me >automatically without disrupting the rest of the document). > I use oXygen as XML editor. It has a pretty-print function, which works reasonably well. You can specify how many characters you want on one line. On the other hand, it does remove blank lines and even more annoyingly it sorts the attributes alphabetically per element. Fortunately it is not something you'll have to use. >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. Don |