Or write one template rule with match="div[1]" and another that matches "div" (which will automatically have lower priority).
You're on a forum provided for readers of Wrox books. Which book are you using? This is very basic stuff that any book should cover.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|