0
get xml value
Contributor
,
/t5/animate-discussions/get-xml-value/td-p/5075366
May 14, 2013
May 14, 2013
Copy link to clipboard
Copied
<filmlist>
<user num="1">
<film>clip02.flv</film>
<film>clip01.flv</film>
</user>
<user num="2">
<film>clip01.flv</film>
<film>clip02.flv</film>
</user>
<user num="3">
<film>clip02.flv</film>
<film>clip01.flv</film>
</user>
</filmlist>
I know how to get the 'film' values between those tags. E.g. userFilms_XML.user[3].film[2]. What I don't know is how to target the 'num' value in each 'user' tag. Can I read num="1" e.g. too? Something like userFilms_XML.user[3].num so it would trace '3'.
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/animate-discussions/get-xml-value/m-p/5075367#M134481
May 14, 2013
May 14, 2013
Copy link to clipboard
Copied
:
userFilms_XML.user[2].@num
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

