From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12402 Path: main.gmane.org!not-for-mail From: Jedrzej Nasiadek Newsgroups: gmane.comp.tex.context Subject: XML attributes Date: 06 Jun 2003 00:06:39 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <87znkw6uxc.fsf@granit.home.astercity.net> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054851075 30173 80.91.224.249 (5 Jun 2003 22:11:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2003 22:11:15 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Jun 06 00:11:14 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19O2wN-0007n4-00 for ; Fri, 06 Jun 2003 00:10:35 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 5482F10B29; Fri, 6 Jun 2003 00:12:56 +0200 (MEST) Original-Received: from granit.home.astercity.net (57-bem-4.acn.waw.pl [62.121.83.57]) by ref.ntg.nl (Postfix) with ESMTP id D5D4B10B18 for ; Fri, 6 Jun 2003 00:06:46 +0200 (MEST) Original-Received: from granit.home.astercity.net (yen@LOCALHOST [127.0.0.1]) by granit.home.astercity.net (8.12.3/8.12.3/Debian-6.3) with ESMTP id h55M6grr013505 for ; Fri, 6 Jun 2003 00:06:42 +0200 Original-Received: (from yen@localhost) by granit.home.astercity.net (8.12.3/8.12.3/Debian-6.3) id h55M6epP013501; Fri, 6 Jun 2003 00:06:40 +0200 X-Authentication-Warning: granit.home.astercity.net: yen set sender to J.Nasiadek@ia.pw.edu.pl using -f Original-To: ntg-context@ntg.nl X-wise: Microsoft is not the answer. Microsoft is the question. The answer is NO. - Erik Naggum Original-Lines: 41 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12402 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12402 Hi, So I've got to use this modern XML thingy.. ;-) I tried to set up ConTeXt to typeset processed XML data. What goes wrong is the \XMLpar which sometimes gives default value instead of the real one. See the code below: \starttext \defineXMLpickup [log] {\starttabulate[|p(7cm)|p|] \HL\NC ObjectID \NC Value \NC\NR\HL} {\stoptabulate} \defineXMLenvironment [var] {\NC \XMLpar{var}{name}{blah} \NC } {\NC\NR } \startXMLdata 28674524 28674677 28674824 28674963 \stopXMLdata \stoptext If I remove the \NC before \XMLpar -- it gives the real value of the name attribute. Jedrzej