[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-users] options to set correct posting profiles and delete group
From: |
Jim Henderson |
Subject: |
Re: [Pan-users] options to set correct posting profiles and delete groups not on servers |
Date: |
Thu, 31 Oct 2024 17:11:44 -0000 (UTC) |
User-agent: |
Pan/0.160 (Toresk; ) |
On Thu, 31 Oct 2024 06:00:31 -0000 (UTC), Duncan wrote:
> Strong second on search/replace for this sort of thing. Probably faster
> than a GUI would be for it anyway, and arguably more dependable, given
> the low usage and therefore low practical level of testing such a
> bulk-edit special-purpose pan function would likely get. =:^)
One thing that I noticed as I was looking at this is that the group-
preferences.xml file isn't actually a well-formed XML document. I was
looking for a way to do an XPath-based search and replace (I'm familiar
with using such a tool in the OxygenXML Editor, which is non-free), and
found qxmledit as an alternative, but it refuses to open the file because
it doesn't have a root element.
So it's XML-ish, but missing the top-most element makes it not a properly
structured XML file.
That change might be an easier one to make in order for it to be able to
be edited with a smart XML editor that can more easily search and replace
based on the document structure rather than just a simple text search &
replace.
It seems that the group-preferences.xml file is the only file that doesn't
have a root document.
--
Jim Henderson
Please keep on-topic replies on the list so everyone benefits