<?xml-stylesheethref="../xsl/default.xsl" type="text/xsl"?>
-<o:program>
<!--
 first define the functions 
 -->
<!--
 this function takes a single argument of any type 
 -->
-<o:function name="ex:fun">
 <o:param name="arg"/>
-<o:do>
-<object>
 <o:eval select="$arg"/>
 </object>
 </o:do>
 </o:function>
<!--
 this function takes a String argument 
 -->
-<o:function name="ex:fun">
 <o:param name="arg" type="String"/>
-<o:do>
-<string>
 <o:eval select="$arg"/>
 </string>
 </o:do>
 </o:function>
<!--
 this function takes a Number argument 
 -->
-<o:function name="ex:fun">
 <o:param name="arg" type="Number"/>
-<o:do>
-<number>
 <o:eval select="$arg"/>
 </number>
 </o:do>
 </o:function>
<!--
 define a variable with nodeset value 
 -->
-<o:variable name="ex:arg">
-<nodeset>
 <content>string content of node</content>
 </nodeset>
 </o:variable>
<!--
 then run the tests 
 -->
-<result>
 <o:eval select="ex:fun(1234.5)"/>
 <o:eval select="ex:fun('piece of string')"/>
 <o:eval select="ex:fun($ex:arg)"/>
 </result>
 </o:program>