QueryProxy.attribute

Returns a set containing all attribute nodes of the nodes within this set which pass the given filtering test.

  1. QueryProxy attribute(bool delegate(Node) filter)
    struct QueryProxy
    attribute
    (
    bool delegate filter
    )
  2. QueryProxy attribute(string name)

Parameters

filter bool delegate

the filter to be applied on the attributes. Should return true when there is a match for an attribute.

Return Value

the set of nodes that passed the filter test

Meta