XML and multiple keyword attributes
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}]}. Then I did not succeeded in any way, thanks, Martin -------- Martin Kolarik Moravske Pristroje, a.s., Masarykova 1148, Zlin 76302 tel. +420 603 498 498, fax +420 577 107 171 web: http://www.mii.cz -------- e-mail: kolarik@mii.cz e-mail: kolarik@click.cz tel. +420 603 535 593
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
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}]}.
Then I did not succeeded in any way,
At 12:14 PM 2/7/2003 +0100, =?iso-8859-2?Q?Martin_Kola=F8=EDk?= wrote: + \expanded{\bTD[align={\XMLop{align}]} so, you need extra braces for the expanded commalist Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Martin Kolařík
-
Simon Pepping