7 Feb
2003
7 Feb
'03
8:12 p.m.
On Fri, Feb 07, 2003 at 12:14:15PM +0100, Martin Kola?ík wrote:
Hello Hans,
isn't something new in reading/processing XML attributes? I used it before more than half year, now I'm going to use it again -- I want to define in XML something like <td align="middle, lohi"/>...</td> and I want to process this in ConTeXt like \bTD[align={middle, lohi}] using something like \expanded{\bTD[align=\XMLop{align}]}.
This seems to be OK, except that you do not have the braces around the expanded value. Try this: \expanded{\bTD[align={\XMLop{align}}]}. Note also that \bTD ... \eTD must be used with \defineXMLpickup[td]{\expanded{\bTD[align={\XMLop{align}}]}}{\eTD} Regards, Simon -- Simon Pepping email: spepping@scaprea.hobby.nl