[NTG-context] TEI to context XML mappings?

Thomas A. Schmitz thomas.schmitz at uni-bonn.de
Wed Feb 24 16:57:28 CET 2016


On 02/24/2016 03:51 PM, Hans Hagen wrote:
> no, there are no such fields
>
> \starttext
>
> \startluacode
>      local t = xml.load("t:/sources/i-en-xml.xml")
>      print(table.serialize(t,true,{})) -- you need to call this way
> \stopluacode
>
> \stoptext
>
> at : attributes
> ns : namespace
> rn : remapped namespace
> tg : tag (@..@ names indicate special tags)
> dt : text
>
> text is a table of strings and elements
>
> (there are a few extra private fields and when applying searched there
> are index fields added)

Ah wonderful, that's already very useful to have! Thanks for pointing it 
out!

Thomas


More information about the ntg-context mailing list