ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* xmldoiftext
@ 2010-07-18 19:02 H. van der Meer
  2010-07-22 20:18 ` xmldoiftext Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: H. van der Meer @ 2010-07-18 19:02 UTC (permalink / raw)
  To: NTG ConTeXt

I have a comment on the name of macro "\xmldoiftext".
The name as is, seems specifically to point to something like:
     <node>some_text</node>
Luckily the manual mentions here "when .. node has some content" and  
this implies the {yes}-branch will be taken also in case of the  
presence of subnodes, even if these lack text content:
     <node><subnode/></node>
I am happy to find that this is indeed the behaviour, because it is  
what I need.

Thus I am inclined to consider "\xmldoifcontent" as a better  
descriptive name instead of "\xmldoiftext". Or is it already too late  
to change its name?

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] 2+ messages in thread

end of thread, other threads:[~2010-07-22 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-18 19:02 xmldoiftext H. van der Meer
2010-07-22 20:18 ` xmldoiftext Hans Hagen

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).