Attribute Nodes






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
//@*



 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows