child::para[attribute::type=warning] selects all para children of the context node that have a type attribute with value warning