VOID
expressions return no value but are used to
perform other work. The
VOID REMOVE_EXPORTED_PROP
expression deletes the file
containing the value of an exported property and also the property value
itself, if desired.
Use
REMOVE_EXPORTED_PROP
to remove a file created by the
VOID EXPORT_PROP
or
VOID RETRIEVE_URL
expressions. The following
expression nodes can modify
REMOVE_EXPORTED_PROP
:
URL
- Specifies the URL that files were written to. This value may be either an absolute path or a path relative to the location ofPipeline.epx
.PREFIX
- Specifies any prefix used in the file name to remove. This value often corresponds to the value ofPREFIX
in theVOID EXPORT_PROP
expression.REMOVE_PROPS
- Specifies whether to remove the property from the record after deleting the file where the property was stored.TRUE
removes the property from the record after removing the corresponding file.FALSE
does not remove the property.
See the
EXPRESSION
element for DTD and attribute information.
As the
COMMENT
element indicates, this example removes the
temporary file created by
EXPORT_PROP
.
<EXPRESSION TYPE="VOID" NAME="REMOVE_EXPORTED_PROP"> <COMMENT>This expression removes the temporary file that is created on disk by the RETRIEVE_URL expression.</COMMENT> <EXPRNODE NAME="PROP_NAME" VALUE="Endeca.Document.Body"/> <EXPRNODE NAME="REMOVE_PROPS" VALUE="TRUE"/> </EXPRESSION>