PHP Classes

multiple cached XML files?

Recommend this page to a friend!

      Generic XML parser class  >  All threads  >  multiple cached XML files?  >  (Un) Subscribe thread alerts  
Subject:multiple cached XML files?
Summary:can it load more than one xml document?
Author:eli orellana
Date:2012-01-16 11:21:04
Update:2012-01-22 02:51:54

  1. multiple cached XML files?   Reply   Report abuse  
Picture of eli orellana eli orellana - 2012-01-16 11:21:15
I have multiple XML documents, and have run the XMLParseFile through a DirectoryIterator to look for my XML documents under a specific folder and cache them. Now I am wondering since the class cannot be called statically, can we load more than one XML document from the cache batch and create arrays for them?

I would this $structure would need be one index deeper to have multiple XML data?

  2. Re: multiple cached XML files?   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2012-01-22 02:51:54 - In reply to message 1 from eli orellana
I am not sure what you mean but once you parse a new XML file, the previously parsed XML file structure is cleared.