Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Parsing an XML file

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
bobby131313 Posted - 09 February 2012 : 13:45:41
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.
1   L A T E S T    R E P L I E S    (Newest First)
bobby131313 Posted - 12 February 2012 : 01:06:31
Problem solved.

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07