I'm having a bit of trouble parsing a string from an XML. Here is an example of a tag that I have:
<author> {"picture":"http:\/\/images.ak.instagram.com\/profiles\/profile_315469453_75sq_1381947801.jpg","name":"Natural Places And Views","username":"alhamadikh","link":"http:\/\/instagram.com\/alhamadikh"}
</author>
I've been able to parse all of the individual tags correctly from the XML that I have (things like the following: title/image/link) except for the "picture", "name", and "username" inside of the author tag. What do I need to code to extract the information inside of the author tag individually?
Here is a sample of a line of code that works when I need to extract a title:
FindComponent("MainText"&i).text = x.selectsinglenode("title").text
Here is what i tried to extract the picture inside of author (unsuccessfully):
FindComponent("AvatarImage"&i).text = x.selectsinglenode("author/picture").text
Any help or advice would be appreciated, I've been googling for hours and can't seem to find the right answer. Also i'm using VBscript as the language to extract the information.
Thank you!