Re: Need to parse java string with XML data

Posted by David E Jones on
URL: http://ofbiz.116.s1.nabble.com/Need-to-parse-java-string-with-XML-data-tp145266p145267.html


Check out the UtilXml class in OFBiz, it has some handy methods for  
this kind of stuff, including that very thing.

-David


On Mar 28, 2007, at 2:04 PM, Walter Vaughan wrote:

> Does anyone know of some good java SAX or DOM "Hello World" type  
> tutorial sites? I have xml data in a java string (NOT A FILE) that  
> I want to parse and use in ofBiz, and every example I've looked at  
> looks like it's either severe overkill or way underkill (character  
> by character).
>
> My problem also is finding example code where the data is a string  
> variable inside java and is in a <name=value> style xml rather than  
> <name>value</name> xml.
>
> --
> Walter


smime.p7s (3K) Download Attachment