The present invention provides a compound of formula I, and salts and stereoisomers thereof, x1, X2, R1, R2, R3, R4, R5, R6, R7, R8, R9 and R10 are defined in the specification. The compound disclosed by the invention has relatively good bactericidal and nematicidal activity.