On 03/05/2013 09:58 AM, Hans Hagen wrote:
     lookuptable[mytype] = mytype .. " = " .. myvalue
     inspect(lookuptable)

the .. triggers a tostring on myvalue which in turn serializes the xml

     lookuptable[mytype] = { mytype = myvalue }

would keep myvalue as xml node

Hans, thanks a lot, the explanation makes sense, but your suggestion is not yet clear enough for me: how would I then process the node?

context(lookuptable[mytype]["mytype"])

gives again the serialized xml.

Thomas
___________________________________________________________________________________
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