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
On 18-7-2010 9:02, H. van der Meer wrote:
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?
yes, as i 've used it a lot already Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
H. van der Meer
-
Hans Hagen