Dear list,
I have the following sample:
\startbuffer[demo]
<span class="tex-logo">TeX</span>
\stopbuffer
\setupinteraction[state=start]
\startxmlsetups xml:initialize
\xmlsetsetup{#1}{span[contains(@class,'tex-logo')]}{xml:tex:logo}
\stopxmlsetups
\xmlregistersetup{xml:initialize}
\startxmlsetups xml:tex:logo
\TeX
\stopxmlsetups
\stopxmlsetups
\starttext
\xmlprocessbuffer{main}{demo}{}
\stoptext
Unless I remove the hyphen from the class and from the setups (or
replace both hyphens with an underscore hyphen), I won’t get the \TeX logo.
Have I hit a bug or is it a feature?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________