dump
Dumps an XML document to a temporary file
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > dump

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:ext:sys

Definition

Active URI Base

active:dump

Format

<instr>
  <type>dump</type>
  <operand>var:result</operand>
  <operator>
    <path>/xtmp/log/xunit</path>
  </operator>
  <target>this:response</target>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory dump
operandMandatory the resource to be serialized
operatorOptional a document specifying properties for the dump
targetMandatory the target resource

The dump accessor serializes the operand document to a uniquely named file located in a target directory specified in the operand properties document. The result is a document with a root element <filename> containing the full path filename of the dumped operand document.

Operator Syntax

The dump accessor may be passed a path property in order to choose a unique location to dump a document. It is passed in by the operator in a <path> element.

<dir> /xvar/log/xunit </dir>

<path> contains the directory path relative to the root scratch directory for ext-sys into which the xml documents will be dumped. If omitted the path will default to /xtmp/log.

© 2003-2005, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.