1. A method of controlling access by a parent node to child nodes in a DOM tree, comprising the steps of: assigning a parent-node context-value to said parent node; assigning a child-node context-value to each of said child nodes; correlating one or more of said child nodes to said parent node; and permitting access by said parent node only to said correlated child nodes.