Hi,

I am asking for help with a macro command. The macro needs to work on a 
sequence of nodes - either the nodes which the user has explicitly selected or, 
if there is no explicit selection, the current element together with all of its 
siblings.

How to test for the existence of a selection and create it if it is missing? (I 
suppose by testing if $selectedNode equals the empty set, but I can't remember 
the pattern.)

   Yves
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to