I use XML Editor from XMLmind for editing/viewing XML file in Mac.
It's not bad, but I expect an XML editor for Mac. What options do I have including the commercial/free software?
I use XML Editor from XMLmind for editing/viewing XML file in Mac.
It's not bad, but I expect an XML editor for Mac. What options do I have including the commercial/free software?
Eclipse works on Mac OS and it is one of the best XML editor around, actually. It has XSD validation, autocompletion towards this schema. Also, it offers a graphical XSD designer.
Although it's still a beta I have found Xmplify to be a pretty useful XML aware tool. Copes with DTD, XSD, XPath and XSL transformation in the tool
IntelliJ IDEA is overall a good IDE, it's available on Mac, and it supports editing XML in ways such as syntax highlighting, collapsing a given scope, and validating XML. I haven't used it much for XML, but I've had good experiences with that IDE for other purposes so thought I would mention it here.
And of course Emacs with psgml-mode or nxml-mode will edit XML.
Testing this and that, I settled down with Text Wrangler, with XML Tidy script. It's free and pretty useful for my purposes.
I found a simple and free software to view, no editor: XML Spy
If you have the Apple Developer Tools installed, then you have Xcode and this includes the "Property List Editor" application (Apple plist files are in XML format, hence the name).
You can find the application here:
/Developer/Applications/Utilities/Property List Editor.app
You can download the source code from GitHub and compile it locally. Then in the preferences install the appropriate language bundle. https://github.com/textmate/textmate
If you like the application I would recommend buying the commercial version to show your support to the author.
As an alternative to XMLmind XML Editor there's QXmlEdit It is also free and quite feature rich. It's written in Qt and runs on Mac as well as the other platforms Qt supports.
I'm looking for the same thing, and I just came across XMLmind XML Editor. I like how it can load my files pretty quickly.
@rds: I've tried using Eclipse to open my XML files, but it would hang with my files (>15MB). I've come to notice any editor built with Java hangs upon trying to open my file, or at least takes an unbearably long time to load it.
I like the look of http://www.sublimetext.com/2 as seen in a Daniel Shiffman tutorial
Another option is Microsoft VS Code with an XML extension...
I'm using: https://marketplace.visualstudio.com/items?itemName=DotJoshJohnson.xml
You can Cmd+Shift+P and type "XML" to find the utils provided by the extension.
Some keyboard shortcuts are provided, e.g. Ctrl+Shift+Alt+B to format nicely.
Or find elements by XPath query, or display the XPath of the highlighted element.
You can try all in one JSON viewer or all in one XML viewer.