TopicTransformationExtensionsGenerateUniqueId Method

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

Definition

Namespace: Sandcastle.Core.PresentationStyle.Transformation
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static string GenerateUniqueId(
	this XNode node
)

Parameters

node  XNode
The node for which to generate a unique ID

Return Value

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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also