Skip to main content

End session

Close an XML session, optionally saving its XML first: over the file it was loaded from, or to another file.

Command in the XML toolkit · id ooa.xml/end_session · 4 inputs, 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
SessionStringNoxmlSession name.
Save over the loaded fileBooleanNofalseWrite the XML back to the file Start session loaded.
Save toFileNoWrite the XML to this file (used when not saving over the loaded file).
IndentBooleanNofalseRe-format the saved XML with indentation.

Outputs​

OutputTypeWhat it is
xmlStringThe XML as the session held it.
pathFileThe file written; empty when nothing was saved.