The simple answer is like this:
<xsl:template match="page" priority="2">
-- process the page
</xsl:template>
<xsl:template match="page[@stop=1] | page[following::page/@stop=1]"
priority="3">
// do nothing
</xsl:template>
However, this could be rather expensive, so whether it's viable depends on the size of your source. A faster solution, but one that's a bit harder to code, is to program the tree walking yourself (so a template for a page does apply-templates first to its first child, then to its following sibling, passing as a parameter a boolean that indicates whether stop=1 has yet been encountered.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference