ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* XML inclusion
@ 2017-04-07 11:42 Meer, Hans van der
  2017-04-09 14:42 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Meer, Hans van der @ 2017-04-07 11:42 UTC (permalink / raw)
  To: NTG ConTeXt

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?

Hans van der Meer




___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: XML inclusion
  2017-04-07 11:42 XML inclusion Meer, Hans van der
@ 2017-04-09 14:42 ` Hans Hagen
  2017-04-12 14:51   ` Meer, Hans van der
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2017-04-09 14:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: XML inclusion
  2017-04-09 14:42 ` Hans Hagen
@ 2017-04-12 14:51   ` Meer, Hans van der
  0 siblings, 0 replies; 3+ messages in thread
From: Meer, Hans van der @ 2017-04-12 14:51 UTC (permalink / raw)
  To: NTG ConTeXt


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-12 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-07 11:42 XML inclusion Meer, Hans van der
2017-04-09 14:42 ` Hans Hagen
2017-04-12 14:51   ` Meer, Hans van der

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).