Re: Need to parse java string with XML data

Posted by Walter Vaughan on
URL: http://ofbiz.116.s1.nabble.com/Need-to-parse-java-string-with-XML-data-tp145266p145270.html

Chris Howe wrote:

>><number=3106799433><name=><dnis=2149><state=active>
>
>
> I don't believe that to be well-formed XML. I suspect there is a parent
> to those "elements" and if there is, it should look like this...
>
> As child elements:
> <parent>
>   <number>3106799433</number>
>   <name/>
>   <dnis>2149</dnis>
>   <state>active</state>
> </parent>
>
> or..
> as attributes:
> <parent number="3106799433" name="" dnis="2149" state="active"/>

No that's the way it gets kicked to me. I didn't even think to complain to the
server app suppling that data that I'm not getting valid XML.

If I can convince them to supply the data in a well formed XML layout, do you
think I can then convert that to something that can be used in an ofBiz service?

Thanks

--
Walter