Hey, Clay...
The message in the status window is good for interactive use, but
for use in a script, where different logic may be required if setting
the attribute fails, oid_modify_attr actually returns 1 if it succeeds
and 0 if it fails, which would probably be easier to act on.
As far as creating new attributes that aren't defined in the
DTD/Schema (which I'm still just guessing James wants to do... James?),
you do have the option of using namespaced attributes. This requires
setting up a namespace prefix, such as creating an attribute on the
top-level element in your document like
xmlns:myns="
". You can then create any attribute you want on elements in your
document, as long as the attribute name starts with "myns:".
-Brandon
🙂