|
-
May 12th, 2009, 12:26 AM
#1
Thread Starter
Frenzied Member
My XML File..
Currently i'm getting news data from an XML file the user data from another etc Was thinking about have a file such as
<ApplicationData>
<News>
<NewsItem>aaaa<NewsItem>
<NewsItem>bbbb<NewsItem>
<NewsItem>cccc<NewsItem>
<NewsItem>dddd<NewsItem>
<News>
<Users>
<UserItem>zzzz</UserItem>
<UserItem>xxxx</UserItem>
<UserItem>yyyy</UserItem>
</Users>
</ApplicationData>
Would this be okay? can anyone see any issues with it?
-
May 12th, 2009, 12:34 AM
#2
Re: My XML File..
will something be uniquely identifying the different nodes? or are you planning on searching for something in your xml by looping through everything? you've sorta limited your xpath queries.
-
May 12th, 2009, 12:44 AM
#3
Thread Starter
Frenzied Member
Re: My XML File..
Each node will be saved in a Database.. there is more than just what you see, inside newsitem there will <ID> <Title> <Date> and useritem will have <ID> <Username> etc, just check on the format of different node types going from news to then users etc
-
May 12th, 2009, 12:47 AM
#4
Re: My XML File..
looks fine to me, except of course that should be </News>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|