From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75246 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: xmlinclude Date: Tue, 20 Mar 2012 19:07:55 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1332270563 27308 80.91.229.3 (20 Mar 2012 19:09:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2012 19:09:23 +0000 (UTC) To: ConTeXt NTG Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 20 20:09:21 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SA4Pb-0007mc-4n for gctc-ntg-context-518@m.gmane.org; Tue, 20 Mar 2012 20:08:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 01ED810257; Tue, 20 Mar 2012 20:08:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1q6TkzuH6a6D; Tue, 20 Mar 2012 20:07:59 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C8009101E3; Tue, 20 Mar 2012 20:07:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12399101E3 for ; Tue, 20 Mar 2012 20:07:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id C-Wl7tR3jQzO for ; Tue, 20 Mar 2012 20:07:57 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 43A9C10194 for ; Tue, 20 Mar 2012 20:07:57 +0100 (CET) Original-Received: from jansen.uva.nl (jansen.uva.nl [146.50.108.229]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2KJ7uor010710 for ; Tue, 20 Mar 2012 20:07:56 +0100 Original-Received: from vanthoff.uva.nl (146.50.108.242) by jansen.uva.nl (146.50.108.229) with Microsoft SMTP Server (TLS) id 14.1.355.2; Tue, 20 Mar 2012 20:07:56 +0100 Original-Received: from ketelaar.uva.nl ([fe80::cc61:4c73:c438:df97]) by vanthoff.uva.nl ([::1]) with mapi id 14.01.0355.002; Tue, 20 Mar 2012 20:07:55 +0100 Thread-Topic: xmlinclude Thread-Index: AQHNBszBNvRNLAk9202sIwt8NhqsEg== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] Content-ID: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.229; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RGLT7UoV - b1321498c709 - 20120320 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:75246 Archived-At: Can someone tell me what \xmlinclude is supposed to do? I have experimented a lot but didn't come further to an understanding. I have called it through: \startxmlsetups xam:include \xmlinclude{#1}{include}{file} \stopxmlsetups from a node include in: and indeed \enabletrackers[lxml.loading]gives me in the log: xml > tex > loading file './xm-test-problem.xml' as 'problem' But then nothing seemed to have happened. The xml-node in that file is never seen. I checked that by listing all these nodes in the log (\xmlcommand{\xmldocument}..) The and others are listed, but not the contents of the file I thought I had included. Clearly I have some misunderstanding here as to what the manual implicates. It states: "\xmlinclude{node}{lpath}{attribute} includes the file specified by attribute of the element located by lpath at node node." I take this 'node' ast the node from where the lpath is rooted, but I might be mistaken. And most of all: what happens to the included file and how can I approach/use its contents? I would appreciate an enlightment. Thanks in advance. 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________