[NTG-context] using xml setup in another one

Hans van der Meer H.vanderMeer at uva.nl
Tue Mar 9 13:32:51 CET 2010

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  
	\xmlsetsetup{dvd}{%				% these are not to be ignored
\xmlregistersetup{xml:case:casesetups}	% register this setup

and another one useable for general inclusion:
\startxmlsetups xml:common:commonsetups		% environment definition
\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

More information about the ntg-context mailing list