Class DOMIT_GetElementsByAttributePath

Description

getElementsByAttributePath is a temporary utility requested by a DOMIT! user for path-based access to attributes in a DOMIT! document.

This class may be absent from future versions of DOMIT!

Located in /includes/domit/xml_domit_getelementsbypath.php (line 215)


	
			
Variable Summary
Object $nodeList
Method Summary
DOMIT_GetElementsByAttributePath DOMIT_GetElementsByAttributePath ()
void &parsePattern (Object &$node, string $pattern, int $nodeIndex)
Variables
Object $nodeList (line 217)
  • var: A DOMIT_NodeList of matching attribute nodes
Methods
Constructor DOMIT_GetElementsByAttributePath (line 222)

Constructor - creates an empty DOMIT_NodeList to store matching nodes

DOMIT_GetElementsByAttributePath DOMIT_GetElementsByAttributePath ()
parsePattern (line 233)

Matches the current path segment against the child nodes of the current context node

void &parsePattern (Object &$node, string $pattern, int $nodeIndex)
  • Object &$node: The context node
  • string $pattern: The pattern
  • int $nodeIndex: The index of the current path segment

Documentation generated on Fri, 4 Mar 2005 13:57:35 +1000 by phpDocumentor 1.3.0RC3