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

Re: [xmlblaster] XPATH problem

For example, I publish message like:
<color id='green'/>
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']