-
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?
-
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.
-
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
-
Re: My XML File..
looks fine to me, except of course that should be </News>