我正在尝试这种情况,但它总是通过其他方式退出,你能帮帮我吗?感谢
if ( $orderLine[osm:ProductSpecification/text()="X"] and osm:ExtensibleAttributes[osm:Name = "Y" or osm:Name = "Z"] and osm:NewValue/text() = "A" )
then
<AccessType>X</AccessType>
else
<AccessType>{$attribute/osm:NewValue/text()}</AccessType>
)
答案 0 :(得分:1)
我已经解决了更改过滤器范围的问题:
if ( $orderLine[osm:ProductSpecification/text()="X" and osm:ExtensibleAttributes[osm:Name = "Y" or osm:Name = "Z"] and osm:NewValue/text() = "A" ]])
then
<AccessType>X</AccessType>
else
<AccessType>{$attribute/osm:NewValue/text()}</AccessType>
)