From: "Meer, Hans van der" <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: Re: XML inclusion
Date: Wed, 12 Apr 2017 14:51:46 +0000 [thread overview]
Message-ID: <E3ACB474-56ED-4295-9915-A9FE5967D9B6@uva.nl> (raw)
In-Reply-To: <d7955b63-0534-67e5-246e-1f10a46d82aa@wxs.nl>
[-- Attachment #1.1: Type: text/plain, Size: 912 bytes --]
On 9 Apr 2017, at 16:42, Hans Hagen <pragma@wxs.nl<mailto: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
[-- Attachment #1.2: Type: text/html, Size: 2071 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2017-04-12 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-07 11:42 Meer, Hans van der
2017-04-09 14:42 ` Hans Hagen
2017-04-12 14:51 ` Meer, Hans van der [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E3ACB474-56ED-4295-9915-A9FE5967D9B6@uva.nl \
--to=h.vandermeer@uva.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).