Thank you for that quick reply. It was very helpful. I tested several Ctrl-key combinations but instead settled on F11/F12 to get it done. I most strongly recommend this as a solution for future releases. <actCollapse>F11</actCollapse> <actExpand>F12</actExpand>
Hi Jim, Apparently, all keyboard shortcuts are stored in XMLTreeEdit.cfg file, located in the same folder where the executable file is (for Windows). You can open it with XMLTreeEdit and edit to you taste. The Help file contains more details.
Hi Jim, Yes, these shortcuts don't work on Windows 10 anymore; it looks like Windows blocks Ctrl or any other modifier key completely. They work on Linux and I also found, that Ctrl++ and Ctrl+- (plus and minus on the numeric pad) work as well. Maybe these combinations would work on Windows, I will check tomorrow.
Shortcut key "Ctrl-End" does not Expand All and shortcut key "Ctrl-Home" does not Collapse All. The menu function works but not the indicated shortcut keys. I have installed on Win10 and Win11 with same results.
Fair enough. Thanks for responding. I have just discovered that with the preview pane open, it shows the 'Ancestry' of the selected node. This is essentially the path of that node back to the root. This may be sufficient for what I need to do. Thanks again!
Hi there, Your request is rather unusual. I don't see an easy way to achieve this. Adding such a functionality to the program would require a lot of effort for a rarely used feature, sorry. If you need this operation frequently, you can possibly build you own application for that purpose, using some pieces of code from XML Tree Editor. Thank you.
Hello. Thanks for the excellent XML editor! I would like to select and export a fragment of a larger XML file starting with a child node and including all of its parent nodes up to the root, but without any of the sibling nodes along the way. This would be like File/Write Fragment, but in the opposite direction. Is this possible? Thanks!
Yep, I understand. Thanks, Victor.
Hi, Due to the fact, that Windows XP is not supported for several years already, I cannot guaranty that later versions can work on it. It can even be the installer (Inno Setup) failing to run on XP. Also, I have stopped making 32 bit setups since version 28. The whole project source is provided in xxx_source.tar.gz files (can be open with 7 Zip, for example). It is not a Delphi project, but Lazarus-Free Pascal one; its internal implementation of XML support is different from Delphi, hence the two...
The 1034 and 1035 setups won't install, in XP. I was able to install one of the prior versions, 1028, in XP. I don't know about 32 or any of the others. Very impressive. Love it. Is that the entire source, in xmlfile, and uxmlconfig for delphi? Please tell me how to donate.
The solution (win 10) is to run Xml Tree Editor as administrator and yes - uncheck Read Only in Tree.
Hi, I can confirm, that it compiles both in Linux (Lazarus 2.0.2 GTK2+ on LInux Mint) and Windows 10 (Lazarus 2.0.4) environment. The functionality seemingly did not change, possibly that issue, which caused me to include custom copy of Grids.pas unit, has been resolved. Best regards, Victor
Hi Federico, Thanks to the help from Lazarus Forum members, the project is now compiles. The new source was added as XMLTreeEdit_0.1.0.33_Source.tar.gz. Just unpack everything from that archive into a folder of your choice, run Lazarus, Open Project - file name XMLTreeEdit.lpr and compile. It should work out of the box. The program behaviour may slighly change, comparing with the previous versions. I will test it more scrupulously at work, because I use it myself a lot, and make changes, if necessary....
thanks Victor.
Hi, It does not compile for me either. There are some syntax changes in new versions of Lazarus, which made it no longer compatible. Give me a few days to fix this, and I will come back with some kind of instruction. Best regards, Victor
hello. i'm very new in the Free/pascal or Lazarus world so i'm in trouble trying to compile the XML editor (that seems great from pictures and description). Could you please make an "how to" or a README explain how to load and compile in the IDE (lazarus)? Thanks -- Sourceforge: https://sourceforge.net/u/allegfede/ YouTube Channel: https://www.youtube.com/c/v1p3rslab VIMEO HD videos: http://www.vimeo.com/user1912745/videos
Hi, It is not really a bug, but a limitation of the underlying XML libraries. They can only read and write with UTF-8 encoding, which is default for XML documents. You can try to make a copy of your config file and change encoding to encoding="UTF-8" in text editor, and see, if the Flight Simulator accepts this. If not, I think cannot use XML Tree Editor for editing.
Opening an .xml file with first line "<?xml version="1.0" encoding="Windows-1252"?>" (config file for MS Flight Simulator X) gives xmltreeedit error window "In 'file:///C:/Users/h/Desktop/Standard%20-$20Copy.X... (line 1 pos 31): Encoding 'Windows-1252' is not supported. Press OK to ignore and risk data corruption. Press Cancel to kill the program." Pressing OK does nothing, xmltreeedit program remains blank.
Thanks for clearing it up. Here's the AUR package: https://aur.archlinux.org/packages/xmltreeedit-bin/ Don't think there is a need for a 32-bit package. I also noticed a thing, the Translation.xml in your .deb package has executable rights. Also, in my opinion the Translation.xml doesn't fit well into the /etc directory, that's why I moved it to the /usr/share/XMLTreeEdit directory for optional use.
Thanks for clearing it up. Here's the AUR package: https://aur.archlinux.org/packages/xmltreeedit-bin/ I also noticed a thing, the Translation.xml in your .deb package has executable rights. Also, in my opinion the Translation.xml doesn't fit well into the /etc directory, that's why I moved it to the /usr/share/XMLTreeEdit directory for optional use.
Hi Daren, Thank you for your interest. Since the beginning of this project I have changed the license from v2 to v3, but overlooked the references in some places. Hopefully it should be consistent now. I will republish a new .deb file for 64-bit version now and a Windows installation file somewhere next week. Not sure if I can find a working computer to make 32 bit Linux version. Thank you again, Victor
Can you unify the license you release this under? Sourceforge page says: GPLv2 copying in .deb file says: GPLv2+ Source files say: GPLv3 COPYING_GPL.txt says: LGPLv3 I'd like to make an Arch AUR package for your handy tool and wanted to make sure everything is correct.
Can you unify the license you release this under? Sourceforge page says: GPLv2 Source files say: GPLv3 COPYING_GPL.txt says: LGPLv3 copying in .deb file says: GPLv2+ I'd like to make an Arch AUR package for your handy tool and wanted to make sure everything is correct.
Can you unify the license you release this under? Sourceforge page says: GPLv2 Source files say: GPLv3 COPYING_GPL.txt says: LGPLv3 I'd like to make an Arch AUR package for your handy tool and wanted to make sure everything is correct.
Hi Joel, Sorry for the delay, the notification email went to junk, I just accidently discovered your post. Such message usually appears when file has read-only OS attribute or sometimes when one just created a new file with "New" action (I am not sure why, maybe when the previous document was in read-only mode). The solution is to go to Tree menu and un-tick Read Only option. Best regards, Victor
Hi, I am using Windows 10. When I open a file it says "File is open in read-only mode" and I can't manipulate the file. The file name is tpimport.xml and it contains the following text: <?xml version="1.0" encoding="UTF-8"?> <Files/> Thanks for your help. Joel
Hi, I am using Windows 10. When I open a file it says "File is open in read-only mode" and I can't manipulate the file. The file name is tpimport.xml and it contains the following text: <?xml version="1.0" encoding="UTF-8"?> <Files/>
Hi Roland, Yes, you are right, the dialogue caption is misleading. It has to be fixed....
Hi Roland, Not sure why I did not set accelerators for the menu items, maybe they...
Hi Roland, Not sure why I did not set accelerators for the menu items, maybe they...
Hi Roland, Yes, you are right, the dialogue caption is misleading. It has to be fixed....
Sir - I cannot figure out how to create a new XML document. STEPS TO REPRODUCE I...
I avoid using the mouse if at all possible. STEPS TO REPRODUCE I installed the application...
Sir - I cannot figure out how to create a new XML document. STEPS TO REPRODUCE I...
STEPS TO REPRODUCE I installed the application on Kubuntu 14.04.5 AMD64 and ran it....
Hey, What a great Christmas present! :) Too bad, that DOM implementation does not...
Hi, I have released a new version with support for non-Latin characters in file names....
Thanks a lot for you answer. I try to keep tag or attribute names in English - that's...
You are right, XMLTreeEditor behaves exactly as you described if the file name contains...
Hi, Sorry, I missed you post, the notification went to the junk. I don't think umlauts...
Hey, I am absolutely in love with this program! Thanks a lot. Unfortunately, there...