http://www.w3.org/1999/XSL/Transform

c.newGuid () : string

The method “newGuid” generates a GUID and returns it.

The return format of the method is for example:

35DAA8DE-F18A-48DC-A9CA-E56F45DB4BA8

A Globally Unique Identifier (GUID) is a globally unique 128bit number.

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:onion="http://onionworks.net/2004/data" version="1.0">
<xsl:template match="/">
<xsl:value-of select="c.newGuid()" />
</xsl:template>
</xsl:stylesheet>
Beispielhafte Verwendung der Methode