Output of an SgmlQL query can be written to a file, using the operator into. string provides the filename. The format can then be specified by giving to nameone of the values NSGML or SGMLS.
The empty option can be used to specify the generic identifiers of the nodes which must be written as SGML EMPTY TAGS.
Prototype
null <-- query into string [ format: name ] [ empty: names ]
Example
( document docdtd: "/dtds/dates.dtd" body: element DATES content: (top DATE within file $myfile) ) into file "dates.sgml" empty: PTR ;If string starts with the pipe sign (i.e. "| string") the output is piped into the UN*X command contained in the following string.
Example
top DATE within file $myfile into file "| mailx multext@lpl.univ-aix.fr" ;