How Add element to XML file?

Can I add saved navigation points in XML Spy?

  • I'm working with huge XML files in XML Spy so I'm using bookmarks to navigate around the files. But the bookmarks aren't saved so every time I reopen a file I have to add all the bookmarks again - goddamn does this drive me crazy!Is there any way to add navigation points in XML Spy that are saved?

  • Answer:

    You could just manually insert comments where you'd like your bookmarks to be, then search for the bookmarks. If you do this, you can find your bookmarks regardless of editing interface.

The_Partridge_Family at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

Here is another nifty trick: instead of searching for bookmarks with Find in Files, you can also use the http://www.altova.com/products/xmlspy/xpath_analyzer_debugger.html in the http://www.altova.comhttp://www.altova.com/products/xmlspy/xml_editor.html http://www.altova.com/products/xmlspy/xml_editor.html to quickly navigate to those locations. All you need to do is add comments to the XML file to mark those locations, e.g. <-- Bookmark #1 --> and then you can use the XPath expression //comment() to show all comment nodes in your file. Now you can click on each one and you will see them displayed in the editing view. You can even quickly reestablish bookmarks by clicking on each one and hitting Ctrl-F2 to set a new bookmark For more details and a screenshot see my recent http://www.xmlaficionado.com/ blog posting "http://www.xmlaficionado.com/2007/09/xmlspy-tip-using-xpath-analyzer-to.html".

XMLaficionado

The "File Commander PRO" plugin for XMLSpy does exactly what you want. Whenever you open the file again the bookmarks and even the last selection will be restored for you. Check it out here: http://www.spycomponents.com Regards

spycomponents

Well, the link is not shown in my comment from above. Another try: http://www.spycomponents.com

spycomponents

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.