/ LJCPHPCodeDoc / LJCTextBuilderLib / LJCTextBuilder / StartXMLAttribs


Returns

The XML start element attributes.

Syntax

PHP
public function StartXMLAttribs(): LJCAttributes

Creates the XML element attributes.

Example

PHP
 // Root Method Begin
 $textState = new LJCTextState();
 
 $tb = new LJCTextBuilder($textState);
 
 // Example Method:
 $attribs = $tb->StartXMLAttribs();
 
 $result = $tb->GetAttribs($attribs, $textState);
 
 // result:
 //  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 //  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

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