Recommend this page to a friend! |
Classes of stefan | PHP XML Converter | vendor/soothsilver/dtd-parser/README.md | Download |
|
|
![]() Soothsilver PHP DTD ParserThis is a DTD parser contained a single PHP file that aims to be compliant to the full XML specification. The traditional method of reading XML files in PHP is to use the built-in functions based on libxml2. However, these do not allow you to read and parse Document Type Definition (DTD) files, they only tell you if the DTD is well-formed or not. With this library, you can parse a DTD file and extract from it general and parameter entities, notations, element definitions and their attribute definitions and also processing instructions. ExamplesPrint all declared entities
Installation instructionYou can either install this parser via Composer. The package name is
Alternatively, you may simply include or require the only file this parser is made of:
|