I am very new to XMLParsing. It sat at work today without managing to parse a file and get it into an arrayList.
My file looks kinda like this
<type>
<OBJECT_TYPE>horse</OBJECT_TYPE>
<prop>blabla</prop>
<param>black</param>
<OBJECT_TYPE>cat</OBJECT_TYPE>
<prop>blabla</prop>
<param>black</param>
<OBJECT_TYPE>car</OBJECT_TYPE>
<prop>blabla</prop>
<param>black</param>
</type>
But alot longer and not that content. I tried to use SaxParser but no success. And I have read pretty much every SaxParser turials around but all parse xml that has attibutes and my XML doesnt have any attributes.
So for this kind of XML what parser should I use to be able to save it into an ArrayList? And I only wanna list my OBJECT_TYPES nothing else. No prop and no params.