7.7. Opt_Compiler_Processor class
7.7.11. processAttribute()
7.7.10. postprocessNode()
« Previous
7.7.12. processNode()
Next »

7.7.11. processAttribute()

ConstructOptional method for implementation by the programmer
Visibilitypublic
Referencevoid processAttribute(Opt_Xml_Node $node, Opt_Xml_Attribute $attribute)
Argument list
$node - Opt_Xml_Node
The node with the attribute to process.
$attribute - Opt_Xml_Attribute
The attribute to process.

This method captures all the XML attributes registered by the processor and allows to parse them much like Opt_Compiler_Processor::processNode() does with XML tags. The taken arguments are the registered $attribute and the XML $node which the attribute is assigned to.

See also:

7.7.11. processAttribute()
7.7. Opt_Compiler_Processor class
« Previous
7.7.10. postprocessNode()
Next »
7.7.12. processNode()