Table of Contents

TopicTransformationExtensions.GenerateUniqueId Method

Definition

Namespace
Sandcastle.Core.PresentationStyle.Transformation
Assembly
Sandcastle.Core.dll

This is used to generate a unique ID for an XML node

public static string GenerateUniqueId(this XNode node)

Parameters

node XNode

The node for which to generate a unique ID

Returns

string

This is loosely based on the generate-id() XSLT function implementation in the .NET Framework