You don't make it clear whether it is the element name or its value that must end in "wp". Assuming the name, write
match="*[ends-with(local-name(), 'wp')]"
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|