dump
Dumps an XML document to a temporary file
Release Notes
attachGoldenThread
cast
copy
cutGoldenThread
cwu
delete
dpml
dump
entrypoint
exists
expire
fls
guid
hotRestart
HTTPCookie
HTTPRedirect
isUnix
locationToXPath
lock/unlock
log
loglevel
luceneIndex
luceneSearch
mapper
mapper-export
md5
mls
netkernel:*
new
Orchextra
org.ten60.util.aspell
org.ten60.util.image.SVG2PNG
org.ten60.util.image.Text2PNG
org.ten60.util.image.xchart
plainTextToXHTML
regex
relativizeURI
requestWithArgs
resolveURI
serialize
sleep
sqlBatch
sqlBooleanQuery
SQLEncodeElement
SQLEscapeXML
sqlQuery
sqlUpdate
stm
stopWatch
StringToCanonicalString
throw
toRelaxNG
trace
validateDTD
validateRNG
validateSchematron
validateXSD
xacml
xform
XHREFlinker
XHTMLredirect
XHTMLTidy
xinclude
xmltidy
xpatheval
xpur
xquery
xrl
xsign
xslfo-fop
xslfo-fop
xslt
xverify
License
Change History
NetKernel History
Acknowledgements

dump

Used to serialize an xml document to a unique file

Module

urn:org:ten60:netkernel:ext:sys

Definition

Format

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

Syntax

ElementRulesDescription
typeMandatory dump
operandMandatory the resource to be serialized
operatorMandatory 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 requires a configurable directory property in order to dump a document. These are passed in by the operator in a <dir> document. The element names and properties are illustrated below.

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

<dir> contains the directory path relative to the root <scratch> directory into which the xml documents will be dumped. In this example it is the directory <install_directory>/scratch/xvar/log/xunit.


(C) 2003, 1060 Research Limited
© 2003,2004, 1060® Research Limited
1060 registered trademark, NetKernel trademark of 1060 Research Limited