Web Services, Part IX: Pattern-Based XML Node Selection - A Final Word - Doc JavaScript
Web Services, Part IX: Pattern-Based XML Node Selection
A Final Word
In this column we continued our series on Web services. This is the fourth in a miniseries about XML loading and manipulating of the DOMDocument
object. We focused in this column on methods for selecting nodes from the DOMDocument
tree. We explained to you the concept of context and that the context is determined by the node. We showed you how to select nodes with the selectNodes()
and selectSingleNode()
methods. We covered more than a dozen search patterns for nodes. We gave you both the JavaScript code as well as a demo for each of these patterns.
In this column you have learned:
- How to define context - Part A
- How to define context - Part B
- How to select nodes
- How to specify patterns - Part A
- How to specify patterns - Part B
You could find a listing of our XML, XSL, and DTD files in Columnn 103, or you could download them directly from there zipped file.
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: February 25, 2002
Revised: February 25, 2002
URL: https://www.webreference.com/js/column104/7.html