src/umbraco.presentation.xslt.Exslt/ExsltCommon.cs
/// <summary>
/// Implements the following function
///  string exsl:objecttype(object) 
/// </summary>
/// <param name="o"></param>
/// <returns></returns>
Implements the following function
string exsl:objecttype(object)
Implements the following function string exsl : objecttype ( object )
public static string objecttype(object o){
			if(o is System.String){
				return "string";
			}else if(o is System.Boolean){
				return "boolean";
			}else if(o is Double || o is Int16 || o is UInt16 || o is Int32
				|| o is UInt32 || o is Int64 || o is UInt64 || o is Single || o is Decimal){
				return "number"; 
			}else if(o is System.Xml.XPath.XPathNavigator){
				return "RTF"; 
			}else if(o is System.Xml.XPath.XPathNodeIterator){
				return "node-set"; 
			}else{
				return "external"; 
			}
		}
public static string objecttype ( object o ) { if ( o is System . String ) { return " " ; } else if ( o is System . Boolean ) { return " " ; } else if ( o is Double || o is Int16 || o is UInt16 || o is Int32 || o is UInt32 || o is Int64 || o is UInt64 || o is Single || o is Decimal ) { return " " ; } else if ( o is System . Xml . XPath . XPathNavigator ) { return " " ; } else if ( o is System . Xml . XPath . XPathNodeIterator ) { return " " ; } else { return " " ; } }
Implements the following function
string exsl:objecttype(object)
Implements the following function string exsl : objecttype ( object )
None
o
object
None