[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] XPATH problem



ÐÑÐÑÐÐÐ ÐÐÐÐÑÐÐ a Ãcrit :
For example, I publish message like:
<rose>
<color id='green'/>
</rose>
and then trying to get it with XPATH //rose/color[ at id='green'], but don't receive any matching message.
However, if I subscribing first on this message and then publish it, it's works!
And there is something strange. If I use //rose/color[ at id=''] i.e. empty attributes, it's also works.
Did you try to replace simple quote by double quote ?

//rose/color[ at id="green"] in the place of //rose/color[ at id='green']