|
Subject:
|
guid generator in xslt?
|
|
Posted By:
|
jkmyoung
|
Post Date:
|
11/12/2004 12:33:46 PM
|
I need a 32 or 64 char guid generator in xslt. Does anyone know of anything? Do I need to program an extension java function?
|
|
Reply By:
|
joefawcett
|
Reply Date:
|
11/13/2004 5:34:10 AM
|
What processor? Using msxml then a JavaScript extension with the following script should do:
function getGUID()
{
var oST = new ActiveXObject("Scriptlet.Typelib);
var sGuid = oST").guid.substr(0, 38);
oST = null;
return sGuid;
}
--
Joe (Microsoft MVP - XML)
|