as the greatest boss of mine asked for, I looked into my bookmarks & found some precious piece of url to some article which I have summarized it here:
if you need to have your xml processor do something fancy for you & if the processor happens to be either of MS ones (MSXML or .Net), then forget about begging old XPATH/XSLT 1.0 to do it for you. write your own nasty piece of code (a .Net language or JS/VB for MSXML) & put it right in the middle of the xslt file & have the processor suck it up! (while saying : you mofo old useless xslt 1.0 junk, now eat this! i don't need ur built-in crap! )
<ms:script language="C#" implements-prefix="havingFun">
public string HaveFun(string str)
return "Having Fun Now with " + str;
of course the point is that XSLT built-in functions are limited & can't do every crazy thing my boss asks for.
I don't know why that article is that long but the whole trick is the
& there must be a non-MS tag too somewhere out there.