I'm naive enough that I'd just use a macro in Emacs to modify the mapping...
On Sat, Sep 5, 2020 at 5:14 AM Hugi Thordarson <[email protected]> wrote: > Hi all, > I'm adding some standard attributes to a few dozen tables. Since they all > look more or less the same, I'd like to do it programmatically. > That's easy enough, but I'm wondering what the best way would be for me to > write out the project after adding the attributes. > > I've currently got something like: > > XMLEncoder encoder = new XMLEncoder( new PrintWriter( new File( > "new.map.xml" ) ) ); > map.encodeAsXML( encoder, new EmptyConfigurationNodeVisitor() ); > > …which works kinda-sorta. But I imagine there's a better or more idiomatic > way using something like ProjectLoader or ProjectSaver? > > Cheers, > - hugi
