/ LJCPHPCodeDoc / LJCGenTextSectionLib / LJCSections / CreateSections


Parameters
$xmlElement - The root Element.

Returns

The sections array.

Syntax

PHP
public static function CreateSections(SimpleXMLElement $xmlElement)

Creates the Section data from an XMLDoc node.

Example

PHP
 $webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
 require_once "$webCommonPath/LJCGenTextSectionLib.php";
 
 $xmlElement = simplexml_load_file("Sections.xml");
 $sections = LJCSections::CreateSections($xmlElement);

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.