url function
From html only
This function returns the url of the current page
Basic function
<xt:url />
http://syntax.xtgem.com/manual/xtgem/pages/url_function
Path only
<xt:url type="path" />
/manual/xtgem/pages/url_function
Domain only
<xt:url type="domain" />
syntax.xtgem.com
url encoded
<xt:url urlencode="1" />
http%3A%2F%2Fsyntax.xtgem.com%2Fmanual%2Fxtgem%2Fpages%2Furl_function
No query string
<xt:url noquery="1" />
http://syntax.xtgem.com/manual/xtgem/pages/url_function
You can use multiple parameters
<xt:url noquery="1" urlencode="1"/>
http%3A%2F%2Fsyntax.xtgem.com%2Fmanual%2Fxtgem%2Fpages%2Furl_function