Umbraco XSLT Functions

Source: Internet
Author: User
Tags xslt umbraco
ArticleDirectory
    • Xmlns: umbraco. Library = "urn: umbraco. Library"
    • Xmlns: exslt. exsltcommon = "urn: exslt. exsltcommon"
    • Xmlns: exslt. exsltdatesandtimes = "urn: exslt. exsltdatesandtimes"
    • Xmlns: exslt. exsltmath = "urn: exslt. exsltmath"
    • Xmlns: exslt. exsltregularexpressions = "urn: exslt. exsltregularexpressions"
    • Xmlns: exslt. exsltstrings = "urn: exslt. exsltstrings"
    • Xmlns: exslt. exsltsets = "urn: exslt. exsltsets"
Xmlns: umbraco. Library = "urn: umbraco. Library"

Void addjquery ();
Xpathnodeiterator allowedgroups (INT incluentid, string path );
Void changecontenttype (string mimetype );
Void clearlibrarycacheformedia (INT mediaid );
Void clearlibrarycacheformediado (INT mediaid );
Void clearlibrarycacheformember (INT mediaid );
Void clearlibrarycacheformemberdo (INT memberid );
String contextkey (string key );
Bool cultureexists (string culturename );
String currentdate ();
String dateadd (string date, string addtype, int add );
String dateaddwithdatetimeobject (datetime date, string addtype, int add );
Int datediff (string firstdate, string seconddate, string difftype );
Bool dategreaterthan (string firstdate, string seconddate );
Bool dategreaterthanorequal (string firstdate, string seconddate );
Bool dategreaterthanor1_today (string firstdate );
Bool dategreaterthantoday (string firstdate );
String formatdatetime (string date, string format );
Domain [] getcurrentdomains (INT nodeid );
Xpathnodeiterator getcurrentmember ();
String getdictionaryitem (string key );
Xpathnodeiterator getdictionaryitems (string key );
String gethttpitem (string key );
String getitem (string alias );
String getitem (INT nodeid, string alias );
Xpathnodeiterator getmedia (INT mediaid, bool deep );
Xpathnodeiterator getmember (INT memberid );
String getmembername (INT memberid );
String getnodefromlevel (string path, int level );
String getprevalueasstring (int id );
Xpathnodeiterator getprevalues (INT datatypeid );
String getpropertytypename (string contenttypealias, string propertytypealias );
Random getrandom ();
Random getrandom (INT seed );
Relation [] getrelatednodes (INT nodeid );
Xpathnodeiterator getrelatednodesasxml (INT nodeid );
String getweekday (string date );
Xpathnodeiterator getxmlall ();
Xpathnodeiterator getxmldocument (string path, bool relative );
Xpathnodeiterator getxmldocumentbyurl (string URL );
Xpathnodeiterator getxmldocumentbyurl (string URL, int cacheinseconds );
Xpathnodeiterator getxmlnodebyid (string ID );
Xpathnodeiterator getxmlnodebyxpath (string xpathquery );
Xpathnodeiterator getxmlnodecurrent ();
Bool hasaccess (INT nodeid, string path );
String htmlencode (string text );
Bool isloggedon ();
Bool isprotected (INT incluentid, string path );
Int lastindexof (string text, string value );
String longdate (string date );
String longdate (string date, bool withtime, string timesplitter );
String longdatewithdayname (string date, string daysplitter, bool withtime, string timesplitter, string globalalias );
String MD5 (string text );
String niceurl (INT nodeid );
String niceurlfullpath (INT nodeid );
String niceurlwithdomain (INT nodeid );
Void publishsinglenode (INT DocumentID );
String pythonexecute (string expression );
String pythonexecutefile (string file );
String queryfornode (string ID );
Void refreshcontent ();
Void registerclientscriptblock (string key, string script, bool addscripttags );
Void registerjavascriptfile (string key, string URL );
Void registerstylesheetfile (string key, string URL );
String removefirstparagraphtag (string text );
String rendermacrocontent (string text, int pageid );
String rendertemplate (INT pageid );
String rendertemplate (INT pageid, int templateid );
String Replace (string text, string oldvalue, string newvalue );
String replacelinebreaks (string text );
String republishnodes (INT nodeid );
Void republishnodesdotnet (INT nodeid );
Void republishnodesdotnet (INT nodeid, bool savetodisk );
String request (string key );
String requestcookies (string key );
String requestform (string key );
String requestquerystring (string key );
String requestservervariables (string key );
String resolvevirtualpath (string path );
Void Sendmail (string frommail, string tomail, string subject, string body, bool ishtml );
String SESSION (string key );
String sessionid ();
Void setcookie (string key, string value );
Void setsession (string key, string value );
String 1_date (string date );
String extract date (string date, bool withtime, string timesplitter );
String region datewithglobal (string date, string globalalias );
String required datewithtimeandglobal (string date, string globalalias );
String processing time (string date );
Xpathnodeiterator split (string stringtosplit, string separator );
String striphtml (string text );
String tidy (string stringtotidy, bool liveediting );
String truncatestring (string text, int maxlength, string addstring );
Void unpublishsinglenode (INT DocumentID );
Void updatedocumentcache (INT already entid );
String urlencode (string text );

 

Xmlns: exslt. exsltcommon = "urn: exslt. exsltcommon"

String objecttype (Object O );

 

Xmlns: exslt. exsltdatesandtimes = "urn: exslt. exsltdatesandtimes"

String add (string datetime, string duration );
String addduration (string duration1, string duration2 );
String AVG (xpathnodeiterator iterator );
String date ();
String date (string D );
String datetime ();
String datetime (string D );
String dayabbreviation ();
String dayabbreviation (string D );
Double dayinmonth ();
Double dayinmonth (string D );
Double dayinweek ();
Double dayinweek (string D );
Double dayinyear ();
Double dayinyear (string D );
String dayname ();
String dayname (string D );
Double dayofweekinmonth ();
Double dayofweekinmonth (string D );
String difference (string start, string end );
String duration (double seconds );
String formatdate (string D, string format );
Double hourinday ();
Double hourinday (string D );
Bool leapyear ();
Bool leapyear (string D );
String max (xpathnodeiterator iterator );
String min (xpathnodeiterator iterator );
Double minuteinhour ();
Double minuteinhour (string D );
String monthabbreviation ();
String monthabbreviation (string D );
Double monthinyear ();
Double monthinyear (string D );
String monthname ();
String monthname (string D );
String parsedate (string D, string format );
Double secondinminute ();
Double secondinminute (string D );
Double seconds ();
Double seconds (string datetime );
String sum (xpathnodeiterator iterator );
String time ();
String time (string D );
Double weekinyear ();
Double weekinyear (string D );
Double year ();
Double year (string D );

 

Xmlns: exslt. exsltmath = "urn: exslt. exsltmath"

String add (string datetime, string duration );
String addduration (string duration1, string duration2 );
String AVG (xpathnodeiterator iterator );
String date ();
String date (string D );
String datetime ();
String datetime (string D );
String dayabbreviation ();
String dayabbreviation (string D );
Double dayinmonth ();
Double dayinmonth (string D );
Double dayinweek ();
Double dayinweek (string D );
Double dayinyear ();
Double dayinyear (string D );
String dayname ();
String dayname (string D );
Double dayofweekinmonth ();
Double dayofweekinmonth (string D );
String difference (string start, string end );
Double ABS (double number );
Double ACOs (Double X );
Double asin (Double X );
Double atan (Double X );
Double atan2 (Double X, Double Y );
Double AVG (xpathnodeiterator iterator );
Double constant (string C, Double Precision );
Double cos (Double X );
Double exp (Double X );
Xpathnodeiterator highest (xpathnodeiterator iterator );
Double Log (Double X );
Xpathnodeiterator lowest (xpathnodeiterator iterator );
Double max (xpathnodeiterator iterator );
Double min (xpathnodeiterator iterator );
Double random ();
Double sin (Double X );
Double SQRT (double number );
Double Tan (Double X );

 

Xmlns: exslt. exsltregularexpressions = "urn: exslt. exsltregularexpressions"

String add (string datetime, string duration );
String addduration (string duration1, string duration2 );
Xpathnodeiterator match (string STR, string Regexp );
Xpathnodeiterator match (string STR, string Regexp, string flags );
String Replace (string input, string Regexp, string flags, string replacement );
Bool test (string STR, string Regexp );
Bool test (string STR, string Regexp, string flags );
Xpathnodeiterator tokenize (string STR, string Regexp );
Xpathnodeiterator tokenize (string STR, string Regexp, string flags );

 

Xmlns: exslt. exsltstrings = "urn: exslt. exsltstrings"

String Concat (xpathnodeiterator nodeset );
String lowercase (string Str );
String padding (INT number );
String padding (INT number, string S );
String Replace (string STR, string oldvalue, string newvalue );
Xpathnodeiterator split (string Str );
Xpathnodeiterator split (string STR, string delimiter );
Xpathnodeiterator tokenize (string Str );
Xpathnodeiterator tokenize (string STR, string delimiters );
String uppercase (string Str );

 

Xmlns: exslt. exsltsets = "urn: exslt. exsltsets"

partition difference (partition nodeset1, xpathnodeiterator nodeset2);
partition distinct (xpathnodeiterator nodeset);
bool hassamenode (xpathnodeiterator nodeset1, partition nodeset2 );
six intersection (six nodeset1, xpathnodeiterator nodeset2);
leleading (six nodeset1, xpathnodeiterator nodeset2);
bool subset (six nodeset1, six nodeset2 );
xpathnodeiterator trailing (xpathnodeiterator nodeset1, xpathnodeiterator nodeset2);

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.