WmtndocsetAttribute vs wmtndocattradd

Can someone clarify the differences between wm.tn.doc:setAttriute and wm.tn.doc:updateAttributes vs the services in wn.tn.docattr like wm.tn.docattr:add, wm.tn.docattr:update.

Chris

The document attribute services manipulate the attribute definitions while the document services manipulate attribute values. For example, you might use wm.tn.docattr:add to create an attribute named ‘Foo’. Then you could use wm.tn.doc:setAttribute to set the value of the ‘Foo’ attribute of a specific document to something like ‘myFooValue’.