Implemented extended attributes for process desifnition.

Also, allow complex values by examining the tag body instead of the value
attribute.