View Single Post
  #2 (permalink)  
Old July 28th, 2009, 02:07 AM
samjudson's Avatar
samjudson samjudson is offline
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

"//*[not(self::D)]" should select all nodes except 'D' elements.

This will exclude ALL D elements. Given the example you've shown there is no way of us knowing how you want to show the 1 'D' element you have shown so we can't really help you further.
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
Reply With Quote