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

[xmlblaster] XML newby question



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> ?

How does this relate to the implicit DOM tree that xmlblaster creates
(I say a lot of references to this in the documentation, but could not
figure out how to extract the attribute values out of the DOM).

Michael


-- 
matighet at bbn.com   BBN Technologies