PARSEXML
in package
Parse the bibliographic style's XML
Conversion to use with PHP's simpleXML by Ritesh Agrawal and Mark Grimshaw-Aagaard 2007/2008
Table of Contents
- createCache() : mixed
- Create style cache
- getFootnoteResources() : mixed
- Cycle through XML
- getStyle() : mixed
- Get the bibliographic style file
- getStyleTypes() : mixed
- Cycle through XML
- loadCache() : bool
- Load style cache file if available
- sanitizeHtml() : mixed
- Santize '<' '>' etc.
- XMLToArray() : mixed
- Convert XML to array
Methods
createCache()
Create style cache
private
createCache(string $style) : mixed
Parameters
- $style : string
-
A style name
Return values
mixed —getFootnoteResources()
Cycle through XML
private
getFootnoteResources(string $xmlString) : mixed
Parameters
- $xmlString : string
Return values
mixed —getStyle()
Get the bibliographic style file
private
getStyle(mixed $style) : mixed
Parameters
- $style : mixed
Return values
mixed —getStyleTypes()
Cycle through XML
private
getStyleTypes(string $xmlString) : mixed
Parameters
- $xmlString : string
Return values
mixed —loadCache()
Load style cache file if available
private
loadCache(string $style) : bool
Parameters
- $style : string
-
A style name
Return values
bool —sanitizeHtml()
Santize '<' '>' etc.
private
sanitizeHtml(mixed &$array) : mixed
Parameters
- $array : mixed
Return values
mixed —XMLToArray()
Convert XML to array
private
XMLToArray(string $xml) : mixed
code borrowed from http://php.net
Parameters
- $xml : string