skip to Main Content

PHP – How to identify and count only parent elements of a very large XML efficiently

I have a very large xml file with the following format (this is a very small snip of two of the sections). <?xml version="1.0" standalone="yes"?> <LaunchBox> <Game> <Name>Violet</Name> <ReleaseYear>1985</ReleaseYear> <MaxPlayers>1</MaxPlayers> <Platform>ZiNc</Platform> </Game> <Game> <Name>Wishbringer</Name> <ReleaseYear>1985</ReleaseYear> <MaxPlayers>1</MaxPlayers> <Platform>ZiNc</Platform> </Game> <Platform> <Name>3DO…

VIEW QUESTION
Back To Top
Search