On 9 Apr 2017, at 16:42, Hans Hagen <pragma@wxs.nl> wrote:

On 4/7/2017 1:42 PM, Meer, Hans van der wrote:
The command \xmlinclude{}{}{} includes the file specified by attribute IDENTIFIER of the element located by LPATH at NODE.
What I would like to do is including a bunch of .xml files where the directory to load from is given.

Is this a possibility or could this be a feature added to the ConTeXt XML-processing in a new beta?

can you be more explicit

Current setup is as follows:

<root>
  <include file="inputdata.xml"/> <!-- process this xml file -->
</root>

And called in with: \xmlinclude{#1}{include}{file}

The question is: how can this be generalized to include not one file, but by giving a directory on the <include> node including all xml files inside that directory (or more generally files given by a pattern like *.xml).

Hans van der Meer