I need to load xml files and store them into a database. I’m using Symfony 2.1 as a framework and this framweork comes with a great tool – the crawler. It makes using XPATH easy.
How do I load XML files using this crawler?
Have you any a good tutorial showing how to do that?
Have you tried this?
or this?
Read more on DomCrawler component and how to load content into it: http://symfony.com/doc/current/components/dom_crawler.html#adding-the-content