Hallo, it is possible to use TeX control sequence inside XML param? How? Example: <figure file="file.pdf" width=".45\textwidth" /> ^^^^^^^^^^ \defineXMLenvironment[figure][file=,width=] {} {\externalfigure[\XMLop{file}][width=\XMLop{width}]} Thank you Vit Zyka ---------------------------------------------- Error message (from a bit complex source): ! Missing \endcsname inserted. <to be read again> \texescape \XML:ent:tex-backslash ...kslash \else \texescape \fi \param:1 ->width=.45\getXMLentity {tex-backslash} textwidth \getvalue #1->\csname #1 \endcsname \calculateexternalfigure ...guresvg #1[#4][#5][#6] \doifsomething \@@efmaxwid... <argument> ...dummy ][\filewithpath ][\param ][][] \calculateexternalscreenfi...