Parsing an XML file - Posted (866 Views)
Senior Member
bobby131313
Posts: 1163
1163
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.
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Senior Member
bobby131313
Posts: 1163
1163
 
You Must enter a message