SetXMLStandalone()

Syntax

SetXMLStandalone(#XML, Standalone)
Description
Changes the "standalone" attribute of the XML declaration when exporting/saving the document.

Parameters

#XML The XML to use.
Standalone It can be one of these values:
  #PB_XML_StandaloneYes  : The document mode is standalone
  #PB_XML_StandaloneNo   : The document mode is not standalone
  #PB_XML_StandaloneUnset: The standalone mode is not specified in the declaration
Since this library does not validate document type definitions (DTDs), the value of this attribute has no effect on the parsing/saving of documents with this library except that it is read from and written to the XML declaration. This value is however important when working with XML documents intended for validating parsers, that's why this command exists.

See Also

GetXMLStandalone()

Supported OS

All

<- SetXMLNodeText() - XML Index - XMLAttributeName() ->