Drear Mr Safie, Your command works perfect. Thank you!
Kindest regards Thomas Dumm > -----Urspr?ngliche Nachricht----- > Von: Hussein Shafie [mailto:hussein at xmlmind.com] > Gesendet: Freitag, 4. September 2009 19:31 > An: Thomas Dumm > Cc: xmleditor-support at xmlmind.com > Betreff: Re: [XXE] xpath question > > Thomas Dumm wrote: > > > > How do I test that an ancestor of the implicitly selected > element has > > the *absolute* path /Collection/Facts/Facts/Facts. > > (Collection is the document root element). > > > > The command > > > > <test expression="(/Collection/Facts/Facts/Facts)"/> > > > > is apparently not correct. > > > > Please use <match>. Something like: > > <match context="$implicitElement" > pattern="/Collection/Facts/Facts/Facts//*"/> > > No parenthese. And also make sure that all the above elements > actually have no namespace. > > See XSL Transformations (XSLT) Version 1.0 - Patterns - > http://www.w3.org/TR/xslt#patterns > > See > http://www.xmlmind.com/xmleditor/_distrib/doc/commands/macro_r eference.html > > See > http://www.xmlmind.com/xmleditor/_distrib/doc/commands/xpath_v ars.html#predef_vars > >

