%D \module
%D   [       file=x-e-0102,
%D        version=2002.12.16,
%D          title=\EXAMPLE\ Base Files,
%D       subtitle=Result,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

% todo alles voordefinieren of een autoignore

%D This is experimental code. Don't change it, don't rely on
%D this interface remaining the same, don't use tricks used
%D here but not described in manuals, so: assume that this
%D file does not exists.
%D
%D Although \unknown\ this file may learn users a few style
%D tricks.
%D
%D \starttyping
%D texexec --use=e-0102 --pdf reply.exa
%D \stoptyping

%D Layout:

\usemodule[e-0100]

%D Normally we will use the \type {exa} namespace, but we
%D are tolerant:

\autoXMLnamespace[exa]

%D Reply:

\defineXMLprocess [exa:reply]
\defineXMLgsave   [exa:resultfile]
\defineXMLgsave   [exa:resulturl]

\startXMLignore
  \processXMLfilegrouped{\inputfilename}
\stopXMLignore

\edef\ResultFile{\XMLflush{exa:resultfile}}
\edef\ResultURL {\XMLflush{exa:resulturl}}
\edef\ResultSize{\XMLflush{exa:resultsize}}

%D The report:

\starttext

\subject{Result}

The result file is rather large (size: \ResultSize), so instead
of sending it, we let you pick it up:

\starttabulate[|l|l|]
\NC file \NC \goto {\ResultFile} [file(\ResultFile)] \NC \NR
\NC url  \NC \goto {\ResultURL } [url(\ResultURL)]   \NC \NR
\stoptabulate

\stoptext
