03-07-2015, 07:27 PM
Hello !
I have a string named XML that contains :
So basically, i have :
str XML
str file=File1
But now, i would like to "get" the ID of the File1, which is 16, through the XML string, but I don't figure how i could do it :/
I don't know how or if it's possible to search some specific characters in a string, so here i am, asking for help ^^
Could you help me please ? Thanks a lot !
I have a string named XML that contains :
<Element>
<ID>16</ID>
<Date>2015-03-07T20:40:12</Date>
<Name>File1</Name>
<Link>http://youtube.com/</Link>
</Element>
<Element>
<ID>17</ID>
<Date>2015-03-07T20:40:12</Date>
<Name>File2</Name>
<Link>http://youtube.com/</Link>
</Element>
So basically, i have :
str XML
str file=File1
But now, i would like to "get" the ID of the File1, which is 16, through the XML string, but I don't figure how i could do it :/
I don't know how or if it's possible to search some specific characters in a string, so here i am, asking for help ^^
Could you help me please ? Thanks a lot !