WIKINDX API 6.4.9

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
getFootnotes()  : mixed
Cycle through XML
getStyle()  : mixed
Get the bibliographic style file
getStyleTypes()  : mixed
Cycle through XML
loadCache()  : bool
Load style cache file if available
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

getFootnotes()

Cycle through XML

private getFootnotes(string $xmlString) : mixed
Parameters
$xmlString : string
Return values
mixed

getStyle()

Get the bibliographic style file

private getStyle(string $output, bool $export) : mixed
Parameters
$output : string

'html', plain', 'rtf'. Default is 'html'

$export : bool

The requested bibliographic output style.

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

XMLToArray()

Convert XML to array

private XMLToArray(string $xml) : mixed

code borrowed from http://php.net

Parameters
$xml : string
Return values
mixed

Search results