![](https://secure.gravatar.com/avatar/87a361974e21981a5733e18cd7e07b08.jpg?s=120&d=mm&r=g)
4 Dec
2006
4 Dec
'06
7:53 a.m.
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 <table> <tr> <td><p align="center">center</p></td> <td><p align="left">left</p></td> <td><p align="right">right</p></td> </tr> </table> \stopXMLdata \stoptext
6464
Age (days ago)
6464
Last active (days ago)
0 comments
1 participants
participants (1)
-
Karsten Heymann