On 02/08/2012 17:43, Aditya Mahajan wrote:
On Thu, 2 Aug 2012, Olivier Binda wrote:

1) does lxml.att("#1","some tag")  really work ?

I don't know, but please provide a complete minimal example.
\startxmlsetups xml:test
\xmlsetsetup{maths}{c}{xml:*}
\stopxmlsetups
\xmlregistersetup{xml:test}
\startxmlsetups xml:c
\ctxlua{
title = "test="..lxml.att("#1","title")
context(title)}%
\stopxmlsetups

\starttext
test : \xmlprocessdata {maths}{<?xml version='1.0' standalone='yes?><c title="My title"></c>} {}
\stoptext
\endinput

Context gives the "can't concatenate with a nil value" Luatex error when processing this snipet...but if I ignore the error, the pdf output is okey
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to