PHP: XML data extraction using regular expressions — page three
... This is page three of an article about using PHP and regular expressions to extract data from XML files. This page is about extracting the attributes from an element in an XML sample. Page one is about extracting the content of a single element, and page two is about extracting multiple elements into an array. ... [full article
"very useful function if you want to extract values of attributes of any given tag..." - mf
Thank you mf for bookmarking this article!