I would like to make xml-setups for general usage.

For example making possible:
<dvd> ...... <quote>Q</quote> ..... </dvd>

With special setup for dvd:
\startxmlsetups xml:case:casesetups             % environment definition
% ????? \xmlsetsetup{dvd}{*}{-} % ignore all inside <dvd></dvd> not below
        \xmlsetsetup{dvd}{%                             % these are not to be 
ignored
         dvd|state|datadirectory|....}{xml:case:*}
\stopxmlsetups
\xmlregistersetup{xml:case:casesetups}  % register this setup

and another one useable for general inclusion:
\startxmlsetups xml:common:commonsetups         % environment definition
        \xmlsetsetup{common}{quote|...}{xml:common:*}
\stopxmlsetups
\xmlregistersetup{xml:common:commonsetups}      % register this setup

As setup above it doesn't seem to work. What is the best route to accomplish the idea? Best would be restricting the nodes in the <dvd>'s to those defined under <dvd> + those in common, exclusively.

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
___________________________________________________________________________________

Reply via email to