/ LJCPHPCodeDoc / LJCTextBuilderLib / LJCTextBuilder / StartXMLAttribs


Returns

The XML start element attributes.

Syntax

JavaScript
StartXMLAttribs()

Creates the XML element attributes.

Example

JavaScript
// Creates the XML element attributes.
StartXMLAttribs()
{
  // Root Method Begin
  const textState = new LJCTextState();

  const tb = new LJCTextBuilder(textState);

  // Example Method:
  const attribs = tb.StartXMLAttribs();
        
  const 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.