On 8/10/2023 9:10 AM, Thangalin wrote:
Environments for the DIV element gets translated using:
\startxmlsetups xml:div
\setvariable {div} {\xmlatt{#1}{class}} {#1}
\start[\xmlatt{#1}{class}]\xmlflush{#1}\stop
\stopxmlsetups
\setMPtext{1}{\usermap[concurrent.title]}
\setMPtext{2}{\usermap[concurrent.location]}
\setMPtext{1}{%
\xmlatt {\getvariable {div} {concurrent} {title}%
}
I can verify the attribute values exist by exporting them to the document:
something like that .. untested as no mwe
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________