begin  quoting Steven E. Harris as of Sat, Jul 07, 2007 at 08:31:02AM -0700:
> Stewart Stremler <[EMAIL PROTECTED]> writes:
> 
> > It's not the programmatic side of things that's annoying (well, it is,
> > but that's because XML parsing libraries are not nice in C, C++, Java,
> > and so forth -- and picking a language based on XML support seems
> > backwards)
> 
> Have you tried processing XML in Java lately? There are several options
> that reduce the parsing down to just a few lines of code, especially if
> you're interested in using XPath or a data binding tool like JAXB.

The last time I used XML and Java was 1.4.2 (in J2EE-land even), and
JAXB wasn't really appropriate -- I was extracting data from XML
messages, and the message format was changing weekly, so I just had
a key/value table, with the values being XPath strings.

When they'd change the format on me, the code would dump the entire
message to stderr, and I could then go back and fix the XPath strings
to work with the "new" format.

So, no, not lately. But I will be soon.  :)

I'm about to be faced with sucking in a lot of XML data, so JAXB is
heading the list of stuff to spin up on, to see how or if it's changed
since I last used it/looked at it.

Here's to hoping it's a lot better now.

-- 
Who knows, maybe XML will now be so easy I'll be a convert.
Stewart Stremler


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to