07-27-2012, 06:31 AM
If I have the following XML file
How can I create folders and subfolder with a text file and set it's content:
<?xml version="1.0" encoding="UTF-8"?>
<snippetcollection>
<maincat name="php">
<subcat name="strings">
<snippet>
<title>explode-example1</title>
<content>txttxttxt</content>
</snippet>
</subcat>
</maincat>
</snippetcollection>
How can I create folders and subfolder with a text file and set it's content: