Send a suggestion!

We're building a brand new version of the site, and we'd love to hear your ideas

Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 33,626 times

Contents

Related Categories

Simple DOM Access - Introduction

davepamn

Introduction

The Simple DOM Access (SDA) provide a very abstract perspective for interacting with an xml structure. The xml structure only contains elements named "node". Creating an xml structure with only node elements provides for easy search capabilities when using the selectSingleNode and selectNodes methods of the Document Object Model (DOM).

<xml>
<node parent_key="na" key="root" element_name="content" ></node>
</xml>

The secret to identifing relationships in the xml structure is maintained by the "parent_key" and "key" attributes. The "key" attribute must be a unique alpha-numeric phrase. The key is used to find any node element in the xml structure. "node" elements can be added anywhere in the xml structure by using the "parent_key" to find the parent node and appendChild the new node into the structure. Likewise, removing a node requires the "parent_key" and the "key". Attributes are associated with a particular "node" element. A "node" is retrieved using the "key" attribute filter match. An attribute is set to the "node" attribute and its value assigned. Likewise, attributes can be remove from an element. The javascript package to access methods in the Simple DOM Access is call "sda"

NishiSoft provides Part I of the Information Technology Project collaboration. Sign up and list your IT project tasks, assign task too friends, and get percent complete task. Part will include a work order system with NishiSoft acting as the middle man between software task order, verification of requirements meet and services delivered, and generation of the voucher for payment between parties.

Comments