The following are two XPath statements:( )
Statement A: trafficsign[1][@type="warning"]
Statement B: trafficsign[@type="warning"][1]
Statement A selects the first trafficsign node if it has a type attribute with value warning and Statement B selects the first trafficsign node that has a type attribute with value warning.
Statement A selects the first trafficsign node that has a type attribute with value warning and Statement B selects the first trafficsign node if it has a type attribute with value warning.
Both statements convey the same meaning.
Both statements are invalid.