I am trying to develop a macro but is stuck at the "selectNode" command when 
trying to select an ancestor.

I have found that it does work together with the supplied DTD configuration 
example (http://www.xmlmind.com/xmleditor/_distrib/doc/configure/ch02s01.html) 
but not with the Schema configuration example 
(http://www.xmlmind.com/xmleditor/_distrib/doc/configure/ch02s02.html), 
although both examples uses the same document structure.

My code is - use F2 to select the para-anscestor:

  <binding>
    <keyPressed code="F2" />
    <command name="eok2.selTest" />
  </binding>
  
  <command name="eok2.selTest">
    <macro>
    <sequence>
          <command name="selectNode" 
               parameter="ancestorOrSelf[implicitElement] para" />
    </sequence>
    </macro>
  </command>


Thankful for help
/Emil Karl?n


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

Reply via email to