Thursday, June 24, 2004

Record Combining states

After a lengthy conversation with Mark O, I have come up with a Record Element Combining architecture.

1. User Searches for a record
2. User is presented with a list of record elements. The user can choose {1,n} elements. If the item is repeatable, the user can specify whether or not the element is appending something or replacing something.
3. We the search through the main record to determine the elements that are being replaced.

If the element does not exist and then we add a new one if all ancestersare not repeatable.

If the element exists and is not repeatable then we replace the element if all ancesters of it are not repeatable.

If the element exists and is repeatable we consult the users choice; either replace or append the new element.

4. The last screen will allow the user to see the final XML before saving the record.

No comments: