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

Re: [xmlblaster] XPath Filtering



leduke4223 at gmx.net wrote:
Thanks for that tool!

It assures me, that my XPath - Expressions are correct, but the XMLBlaster still returns nothing...
Ok, the next step is to start jconsole and check under MBeans - org.xmlBlaster - node - topic
in the attribute TopicXml if the markup is correct. Note that the topic xml markup is immutable
for each topic once the topic is created.
Your


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

works fine here.


regards Marcel
Seems odd to me,

regards,

Tobias

-------- Original-Nachricht --------
Datum: Wed, 02 Aug 2006 00:49:37 +0200
Von: Marcel Ruff <mr at marcelruff.info>
An: xmlblaster at server.xmlBlaster.org
Betreff: Re: [xmlblaster] XPath Filtering

Hi,

i usually test my xpath with the nice little tool from

  http://www.purpletech.com:8080/xpe/

i hope this helps,

regards
Marcel


leduke4223 at gmx.net wrote:
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