silenthope
New Member
I'm working on parsing through youtube xml data and am having trouble getting one piece of data using \[code\]simplexml_load_file\[/code\].the basic structure is \[code\]<?xml version='1.0' encoding='UTF-8'?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:gd="http://schemas.google.com/g/2005" xmlns:yt="http://gdata.youtube.com/schemas/2007" gd:etag="W/"DkEDSH47eCp7I2A9WhJbEEQ.""><id>tag:youtube.com,2008:video:-LREVZSIcL8</id><published>2010-08-03T09:28:48.000Z</published><updated>2012-09-19T22:44:39.000Z</updated><category scheme="http://schemas.google.com/g/2005#kind" term="http://gdata.youtube.com/schemas/2007#video" /><category scheme="http://gdata.youtube.com/schemas/2007/categories.cat" term="Music" label="Music" /><yt:accessControl action="comment" permission="allowed" /><yt:accessControl action="commentVote" permission="allowed" /><yt:accessControl action="videoRespond" permission="moderated" /><yt:accessControl action="rate" permission="allowed" /><yt:accessControl action="embed" permission="allowed" /><yt:accessControl action="list" permission="allowed" /><yt:accessControl action="autoPlay" permission="allowed" /><yt:accessControl action="syndicate" permission="allowed" />\[/code\]How can get to the value of the \[code\]permission=allowed\[/code\] attribute on that last line?