JavaScript Editor Free JavaScript Editor     JavaScript Debugger 




Main Page

Previous Page
Next Page

9.4. Attribute Nodes

Attribute nodes are handled in a slightly different manner than the nodes that we have dealt with thus far. To specify an attribute node, prefix it with an "at" sign (@). This distinguishes attribute nodes from element nodes. The following XPath statements obtain a node set consisting of all publisher attributes:

//@publisher
//@*


Previous Page
Next Page

Bitcoin Gambling Site


JavaScript Editor Free JavaScript Editor     JavaScript Debugger


©