Changes

Jump to navigation Jump to search
171 bytes added ,  18:04, 28 March 2012
}</context>,
<error-code>{
try { context:to-int('abc')} } catch * { 'Error in line', $err:code line-number }
}</error-code>
</pre>
}
}
</pre>
 
The result will look as follows:
 
<pre class="brush:xml">
<context>http://www.w3.org/2005/xpath-functions</context>
<to-int>Error in line 6</to-int>
</pre>
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu