Well, after some more many hours toiling and with the help of
\enabletrackers[lxml.setups] (Hans Hagen got to be thanked for that)
finally discovered how to do this. I report it here in case other
people might benefit. Maybe it should be put into the wiki, but I am
not very apt with that.
In the supporting setup DO NOT use {}:
\xmlsetsetup{}{error|tex|html|nbsp|...|br}{xml:commoncontext:*}
DO use {\xmldocument}:
\xmlsetsetup{\xmldocument}{error|tex|html|nbsp|...|br}
{xml:commoncontext:*}
Simple and quite logical, iff one has seen the light.
Hans van der Meer
On 4 apr 2010, at 23:14, Hans van der Meer wrote:
I cannot get multiple separate \xmlsetsetup's working. Obviously I
am doing something wrong. My idea was:
file included contains:
\startxmlsetups xml:commoncontext:commonsetups
\xmlsetsetup{}{error|tex|html|nbsp|...|br}{xml:commoncontext:*}
\stopxmlsetups
\xmlregistersetup{xml:commoncontext:commonsetups}
\startxmlsetups xml:commoncontext:br
\crlf \writestatus{CALLING}{br} % <<< apparently not called!
\stopxmlsetups
\startxmlsetups xml:commoncontext:b {\bf\xmlflush{#1}} \stopxmlsetups
..
file that includes contains:
\startxmlsetups xml:doccase:doccasesetups
\xmlsetsetup{}{*}{xml:commoncontext:*} % {doc}{*}..also does not work
\xmlsetsetup{doc}{*}{xml:case:*}% does work for setup 'xml:case'
\xmlsetsetup{doc}{error|dvd|titles...|source|stars}{xml:doccase:*}
\stopxmlsetups
\xmlregistersetup{xml:doccase:dvoccasesetups}
\startxmlsetups xml:case:text \xmlflush{#1} \stopxmlsetups
etc.
Usage:
The break not called and similarly not calledb>
Where is the flaw here?
Hans van der Meer
___
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
___
___
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
___