Parsing an XML file

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/70123?pagenum=1
05 November 2025, 10:53

Topic


bobby131313
Parsing an XML file
09 February 2012, 13:45


I'm trying to parse an XML file using some code I googled years ago. I've been using it for years with no issues. Now I have a new XML file that has more than one level of "nodes" (I think that's what they're called), here's a text file for the complete <item></item>. Here's the code to parse it, I've removed my API keys, but if they are needed I'll send privately to people I know.
Lines 54 - 69 is where I grab the nodes I need, but I can't figure out how to get things like <shippingType> which is a child of <shippingInfo>. I can only get 1st level children.
Thanks in advance if anyone can help.

 

Replies ...


bobby131313
12 February 2012, 01:06


Problem solved.
© 2000-2021 Snitz™ Communications