Web Services, Part VII: XML Object's Nodes and Types

A Final Word

In this column we continued our series on Web services. This is the second in a miniseries about XML loading and manipulating of the DOMDocument object. We focused in this column on node types and node names. We showed you for each node type, which types are possible parents and which types are possible children. We also described how to create a new node (of any type), a new element (tag) node, and a new attribute node. For each of these methods, we showed you not only how to create new nodes, but also how to integrate them within the document object.