If you know that only one of somesection and defaultsection will be present, you can write
<xsl:variable name="wantednode"
select="/xmlpage/somesection/wantednode | /xmlpage/defaultsection/wantednode"/>
(incidentally, you shouldn't use names beginning "xml" - they are reserved for future standardization)
If you know that if both are present, somesection will come first, then you can write
<xsl:variable name="wantednode"
select="(/xmlpage/somesection/wantednode | /xmlpage/defaultsection/wantednode)[1]"/>
If you don't know the order, you can write:
<xsl:variable name="wantednode"
select="/xmlpage/somesection/wantednode | /xmlpage/defaultsection/wantednode[
not(/xmlpage/somesection/wantednode)]"/>
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference