From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32033 Path: news.gmane.org!not-for-mail From: "Karsten Heymann" Newsgroups: gmane.comp.tex.context Subject: exchanging xml values Date: Mon, 4 Dec 2006 15:53:47 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165244054 19163 80.91.229.2 (4 Dec 2006 14:54:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Dec 2006 14:54:14 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 04 15:54:11 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GrFCo-0002aJ-J8 for gctc-ntg-context-518@m.gmane.org; Mon, 04 Dec 2006 15:54:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8CAE11FD6D; Mon, 4 Dec 2006 15:51:33 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17765-01-16; Mon, 4 Dec 2006 15:51:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6F3C1FD71; Mon, 4 Dec 2006 15:51:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2D5271FD8E for ; Mon, 4 Dec 2006 15:51:23 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17765-01-15 for ; Mon, 4 Dec 2006 15:51:18 +0100 (CET) Original-Received: from nz-out-0102.google.com (nz-out-0506.google.com [64.233.162.228]) by ronja.ntg.nl (Postfix) with SMTP id 70ECC1FD6D for ; Mon, 4 Dec 2006 15:51:18 +0100 (CET) Original-Received: by nz-out-0102.google.com with SMTP id z3so1793449nzf for ; Mon, 04 Dec 2006 06:53:47 -0800 (PST) Original-Received: by 10.35.100.6 with SMTP id c6mr15437321pym.1165244027317; Mon, 04 Dec 2006 06:53:47 -0800 (PST) Original-Received: by 10.35.37.9 with HTTP; Mon, 4 Dec 2006 06:53:47 -0800 (PST) Original-To: "mailing list for ConTeXt users" Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:32033 Archived-At: Hello, I use the following code to format xml tables with context. There I want to exchange the meanings of align=[left|right], but I failed so using \mapXMLvalue. Any Ideas? Yours, Karsten \usemodule[contml] \autoXMLnamespace [context] \starttext \mapXMLvalue {p:align} {right} {left} \mapXMLvalue {p:align} {left} {right} \defineXMLenvironment [p] {\startalignment[\XMLop{align}]} {\stopalignment} \setupTABLE[column][each][width=8em] \startXMLdata

center

left

right

\stopXMLdata \stoptext