Hello,

i try to create a macro command which is not allowed to execute if a
specific XHTML element is selected, but it may run if the text node of
that element is selected.
How do i achieve this?

I tried:
...
<sequence>
    <fail>
        <command name="selectNode" parameter="self td"/>
    </fail>
    ...
</sequence>
...

This yields only nearly the desired result (but not exactly), because it
does also prevent the execution when "td->#text" is selected. What i
want is to prevent execution only if "td" is explicitly selected.

I was not able to find out how to test for the selection of the text
node.
Can anyone help?


kind regards
Maik Scheibler


S?chsische Aufbaubank - F?rderbank - Anstalt des ?ffentlichen Rechts, 
Sitz Dresden,
Amtsgericht Dresden HRA 5353,
Ust-IdNr. DE179593934.


Reply via email to