- Home /
This post has been wikified, any user with enough reputation can edit it.
XML parser, how to get to 1 of many elements with the same name.
I have an XML file like this one:
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" version="2.0">
<channel>
<item>...</item>
<item>...</item>
<item>...</item>
<item>...</item>
<item>...</item>
<item>...</item>
<item>...</item>
<item>...</item>
<item>...</item>
<item>...</item>
</channel>
</rss>
How to get to specific in many of them.
Im using System.xml
Thanks.
Comment
Sorry for erro on above question. How do i get to specific "item" on many of them.
Answer by Sulbon · Oct 11, 2013 at 05:35 AM
Get element list by "GetElementsByTagName", then iterate through them or visit by index
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
PC RSS Feed Get Xml Data Works , but not on android? 0 Answers
web page html parsing 1 Answer
UnityScript XML parser 0 Answers
Simple XML reading? (only string/numerical data needed) 1 Answer