3.9 Assignment #3: Practicing DOM
due: Monday, Oct 17
Extend the given DOM viewer program to support
- Deletion of the nodes under the cursor. The cursor is to be moved to the,
in the given priority, following sibling, previous sibling, or parent.
- Addition of a child, siblings, and attributes to the node under the cursor.
When a child or a sibling is added, the cursor should be placed on the new
node. A child may be added only to a childless node.
[a fancier variant of the program: literate view, plain code, core code]