Hi Andrew,
This is a definite gap in the supported use cases: DDMSence works well
to read existing DDMS records or write new ones, but was not
originally designed to EDIT existing records. I have opened a ticket
to see if there's a way it can be supported:
http://code.google.com/p/ddmsence/issues/detail?id=68
In the meantime, I see two ways to get around this limitation:
1) A clean way to consider would be to make the changes at an XML
level. If the changes are programmatic enough (i.e. every creator is
changing to Jon, or every title will now have the prefix "AUS-") they
could be applied to an XML DDMS record with XSL. Then, the string read
into the DDMSReader would already have the changes applied.
2) If the changes could be open-ended (i.e. placed in a GUI for user
input), have complex dependencies on existing data, or you aren't
comfortable with XSL, the Java approach you outlined in your post is
the only recourse today.
Regards,
BU