SproutCMS

This is the code documentation for the SproutCMS project

function getHtml()

For a given XML doc file, return the HTML version.

Usage

string DocImport::getHtml ( string $filename , array $images , array $headings );

Arguments

  1. string $filename
    The file to load; this can also be passed as a DOMDocument object
  2. array $images
    Mapping of rel => filename for images
  3. array $headings
    Mapping of old to new level for headings (e.g. 3 => 2 for H3 -> H2)

Return value

  • string
    The HTML, or NULL on error