-
Notifications
You must be signed in to change notification settings - Fork 160
XML Extension
Dmitriy Zayceff edited this page Apr 25, 2015
·
4 revisions
- Since: 0.6.3
- Dependency:
org.develnext:jphp-xml-ext
- API: http://jphp-docs.readthedocs.org/en/latest/api_en/php/xml/
JPHP XML Library is an easy-to-use library for XML parsing and generation.
use php\xml\XmlProcessor;
$processor = new XmlProcessor();
$document = $processor->parse('<product><name>Hello</name></product>');
$name = $document->get('/product/name'); // Use xpath expression.
JPHP Group 2015