_loadStyleInfo()
_loadStyleInfo( file) : \LOADSTYLE\associative
Extract info entries from a XML bibliographic style file and return an associative array of childnode's value of 'info' node.
This function is taylored by hand to replace the generic parser simplexml_load_file. SimpleXml is very simple to use, but is so slow that parse each style file of Wikindx implies a waste of 100 ms in each load.
This function is closed to a determined tree node as showed below:
<?xml version="1.0" encoding="utf-8"?>
Parameters
file | Location of a StyleFile |
Returns
\LOADSTYLE\associative —array - keys = name, description, language, osbibversion