[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster] XML newby question
Michael Atighetchi a écrit:
The documentation in XmlKey gives this as a typical publish example:
<key oid='4711' contentMime='text/xml'>
<AGENT id='192.168.124.20' subId='1' type='generic'>
<DRIVER id='FileProof' pollingFreq='10'>
</DRIVER>
</AGENT>
</key>
What is the common way for an application to parse this XML chunck in
the subscribing client to get out id, subId and type in <AGENT> ?
Hello Michael,
if I well understand, your question is about client side ? isn't it ?
At client side, you have to deal with xml like in other application that
using xml.
xmlBlaster client give you a raw block of text, that contains xml.
So, with a xml parser you can querying that xml block.
Sorry, I've no java code under my hand.
Perhaps in demo codes you can find some exemple, or in a xml tutorial.
Did I well understand you question ?
cyrille
ps : I'm away from that list for a long time. sorry, I'm under massive
projects.
shure I'll come back & contribute ;o)