3 Replies Latest reply on Feb 11, 2009 6:52 PM by DrClap

    emergency xpath help

      I need to select all nodes that have an attribute id, except if the parent element is of type1 or type2

      so the xpath for just the id attributes is
      how do i get it to only get the attribute if the parent element is not type1 or type2?


      <text id=""/>

      would be selected by

      <type1 id="">

      would not (and same for type2)