[Servingxml-help] onSubtree saxpath expression
Brought to you by:
danielaparker
|
From: Wolf, E. <Eri...@st...> - 2008-04-29 14:35:19
|
Hi,
I am trying to utilize predicates within the onSubtree path expression
and receive the following error:
SEVERE: Error in element sx:onSubtree. The expression
"/trades/trade[side='B']" is
not recognized.. Unexpected token <name>
<sx:onSubtree path="/trades/trade[side='B']">
Here is the xml:
<trades>
<trade>
<orderDateString>07/26/2007</orderDateString>
<orderId>32162</orderId>
<price>1.0</price>
<quantityType>CURRENCY</quantityType>
<quantity>25.0</quantity>
<rejectReason />
<side>B</side>
<traderId>bos.statestreet.fcloader</traderId>
<status>COMPLETED</status>
<currency>USD</currency>
</trade>
<trade>
<orderDateString>07/26/2007</orderDateString>
<orderId>32163</orderId>
<price>1.0</price>
<quantityType>CURRENCY</quantityType>
<quantity>85.62</quantity>
<rejectReason />
<side>S</side>
<traderId>bos.csam.fcloader</traderId>
<status>COMPLETED</status>
<currency>USD</currency>
</trade>
</trades>
Any help would be greatly appreciated.
Thanks,
-Eric
|