Replacement of Wiki.Toc to get current page's TOC
Use sample: Web.Html("http://www.gurework.com/@api/deki/pa...ndTouch/CoDoer");
var mPars = {
sPath: __request.args.path ?? args.path ?? "."
};
var sPath=mPars.sPath;
//@himikel #fix 2012-01-29: fixed for 10.1.3 update
if (!String.StartsWith(sPath,"/"))
let sPath="/"..sPath;
var xWikiToc=Wiki.Toc(sPath);
xWikiToc;
//Web.Xml(xWikiToc);
//Web.Pre(Xml.Format(xWikiToc));