ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* using xml setup in another one
@ 2010-03-09 12:32 Hans van der Meer
  0 siblings, 0 replies; only message in thread
From: Hans van der Meer @ 2010-03-09 12:32 UTC (permalink / raw)
  To: NTG ConTeXt

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-09 12:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-09 12:32 using xml setup in another one Hans van der Meer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).