如何在mule xpath中添加2个表达式?

如何在mule xpath中添加2个表达式?,mule,Mule,我要开两张支票。我是这样做的 #[xpath:/ns0:UpdateUserResponse/ns0:ErrorReport/ns0:ErrorCode/text() = '200' & xpath:/ns0:UpdateUserResponse/ns0:ErrorReport/ns0:ErrorDescription/text() = 'Invalid Login'] 它会出现这样的错误 意外的'&xpath:/ns0:UpdateUserResponse/ns0:ErrorRep

我要开两张支票。我是这样做的

#[xpath:/ns0:UpdateUserResponse/ns0:ErrorReport/ns0:ErrorCode/text() = '200' & 
xpath:/ns0:UpdateUserResponse/ns0:ErrorReport/ns0:ErrorDescription/text() = 'Invalid Login']
它会出现这样的错误

意外的'&xpath:/ns0:UpdateUserResponse/ns0:ErrorReport/ns0:ErrorDescription/text()='无效登录“”(org.jaxen.saxpath.XPathSyntaxException) org.jaxen.saxpath.base.XPathReader:1084(空)

请告诉我如何在一个表达式中添加两个复选框?

请尝试以下操作:-

#[xpath:/ns0:UpdateUserResponse/ns0:ErrorReport/ns0:ErrorCode/text() = '200' and
xpath:/ns0:UpdateUserResponse/ns0:ErrorReport/ns0:ErrorDescription/text() = 'Invalid Login']
更新:- 您需要使用
&;编码
&
。。。 使用
&&而不是表达式中的
&&
因此,您的表达式将是:-

#[xpath:/ns0:UpdateUserResponse/ns0:ErrorReport/ns0:ErrorCode/text() = '200' &&
    xpath:/ns0:UpdateUserResponse/ns0:ErrorReport/ns0:ErrorDescription/text() = 'Invalid Login']