XML editor

Whitehill

Registered
Does anyone know of an XML editor for Mac (or Windows or Linux) which preserves whitespace in the input? That is, I want it to avoid making unnecessary changes just because its parser ignores whitespace between elements. Also, it should be able "render" a decent display, not just bare XML - I'm using DocBook.

I have tried XMLmind and oXygen, but they both have different ideas about how to prettify the input.

Now, if I was the only one working on these files, I wouldn't care about this issue. But I'm part of a team, using a SVN repository to maintain the files. When I think I have changed one line but I check in thousands of bogus differences, the other team members get kind of testy.
 
vim.

What do you use for the other platforms? I haven't found anything decent for any, so ended up for a few projects manually encoding everything. <xml> ....
 
Sorry for not being clear. I meant that I would switch my XML work to Windows or Linux if I could find a satisfactory editor.

I use vim for other things. Again I wasn't too clear. XMLmind and oXygen allow me to switch back and forth between an XML view and a "styled" view and edit in both. It's nice to have almost WYSIWYG. That's what I'm looking for.
 
Hi,

oXygen allows you to store the options at project level (see the Project Options option on most preferences pages). You can define your formatting options and then store them at project level. If all your team members use the same project to edit the files then they will all get the same formatting options and you will be able to work with concurrent versioning systems without having the issues you described. This is what we use for the oXygen user manual and for the oXygen website (that is authored as an XML document) and it works pretty well.

Hope that helps,
George
 
Back
Top