Exception smooks中的异常抛出

Exception smooks中的异常抛出,exception,xml-parsing,smooks,Exception,Xml Parsing,Smooks,是否可以在smooks配置文件中引发异常。 例如,如果在顺序的xml中 <order id="332"> <header> <customer number="123">Joe</customer> </header> <order-items> <order-item id='1'> <product>1</product> <qua

是否可以在smooks配置文件中引发异常。 例如,如果在顺序的xml中

<order id="332">
<header>
    <customer number="123">Joe</customer>
</header>
<order-items>
    <order-item id='1'>
        <product>1</product>
        <quantity>2</quantity>
        <price>8.80</price>
    </order-item>
</order-items>
</order>

乔
1.
2.
8.80

如果节点
不存在,则应引发异常或出现错误。在Smooks配置文件中是否有这样做的选项???

您可以查看验证盒带。请参阅用户指南