Definition at line 7 of file Class.XMLSplitter.php.
Split a XML file into smaller XML files: each child node of the root node will be stored into a dedicated file named after the node 'name' or 'id' attribute.
- Parameters
-
string | $splitdir | the directory in which the nodes XML files will be produced |
- Exceptions
-
Definition at line 60 of file Class.XMLSplitter.php.
static escapeEntities |
( |
|
$str | ) |
|
|
static |
Escape XML reserved chars into their corresponding entities
- Parameters
-
string | $str | the string to escape |
- Returns
- string the string with reserved characters escaped
Definition at line 127 of file Class.XMLSplitter.php.
Parse the given XML input file and produce the XML output files.
- Parameters
-
string | $file | the XML input file |
- Exceptions
-
Definition at line 83 of file Class.XMLSplitter.php.
static unescapeEntities |
( |
|
$str | ) |
|
|
static |
Unescape XML entities into their corresponding char
- Parameters
-
string | $str | the string to unescape |
- Returns
- string the string with the XML entities converted back to their characters
Definition at line 150 of file Class.XMLSplitter.php.
The documentation for this class was generated from the following file: