TopicTransformationExtensionsRemoveNamespaces Method

Remove namespaces from an element and all of its descendants including attributes

Definition

Namespace: Sandcastle.Core.PresentationStyle.Transformation
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.9.12.0
public static void RemoveNamespaces(
	this XElement element
)

Parameters

element  XElement
The element from which to remove namespaces

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XElement. 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