Exemplo n.º 1
0
 // ---------------- Xslt Function Implementations -------------------
 //
 static Hashtable CreateFunctionTable()
 {
     Hashtable ft = new Hashtable(10); {
         ft["current"]             = new FuncCurrent();
         ft["unparsed-entity-uri"] = new FuncUnEntityUri();
         ft["generate-id"]         = new FuncGenerateId();
         ft["system-property"]     = new FuncSystemProp();
         ft["element-available"]   = new FuncElementAvailable();
         ft["function-available"]  = new FuncFunctionAvailable();
         ft["document"]            = new FuncDocument();
         ft["key"]           = new FuncKey();
         ft["format-number"] = new FuncFormatNumber();
     }
     return(ft);
 }
 // ---------------- Xslt Function Implementations -------------------
 //
 static Hashtable CreateFunctionTable() {
     Hashtable ft = new Hashtable(10); {
         ft["current"            ] = new FuncCurrent          ();
         ft["unparsed-entity-uri"] = new FuncUnEntityUri      ();
         ft["generate-id"        ] = new FuncGenerateId       ();
         ft["system-property"    ] = new FuncSystemProp       ();
         ft["element-available"  ] = new FuncElementAvailable ();
         ft["function-available" ] = new FuncFunctionAvailable();
         ft["document"           ] = new FuncDocument         ();
         ft["key"                ] = new FuncKey              ();
         ft["format-number"      ] = new FuncFormatNumber     ();
     }
     return ft;
 }