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

[xmlblaster] XPath Filtering



Hi,

I read quite a lot about XPath Filtering, and tried at least equally many different FilterStrings but it does not work.

I send a message of the following format to xmlBlaster:


<message><type>result</type><origin>System10001</origin><time>1154431166509</time><destination>m-subsystem</destination><data><name>delay</name><m_value>0.020090406830738324</m_value></data></message>

Which is received and stored in XMLBlaster:
<?xml version="1.0" encoding="UTF-8">
<message><type>result</type><origin>System10001</origin><time>1154431166509</time><destination>m-subsystem</destination><data><name>delay</name><m_value>0.020090406830738324</m_value></data></message>

No I want to get the names of all Systems sending messages under a certain topic:

I thought I could do anything like:

//key[at oid="topic"]/message/origin

//key[at oid="topic"] gives me all messages posted unde the topic "topic"

But as soon as I add something there are no results.

I use the latest SVN Snapshot of xmlBlaster and the xmlBlaster GUI to test my filter-strings.

has anybody any clue what I did wrong?

Thanks,

Chris
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer