# XmlNodeExtensions

Kind: Class  
Namespace: `TinyComponents`  
Assembly: `TinyComponents.dll`  
Source: https://docs.sisk-framework.org/api/TinyComponents.XmlNodeExtensions.html

Provides extension methods for [INode](https://docs.sisk-framework.org/api/TinyComponents.INode.md) objects.

```csharp
public static class XmlNodeExtensions
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[XmlNodeExtensions](https://docs.sisk-framework.org/api/TinyComponents.XmlNodeExtensions.md)

#### Inherited Members

[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype), 
[object.MemberwiseClone\(\)](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), 
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring), 
[object.Equals\(object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)), 
[object.Equals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)), 
[object.ReferenceEquals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), 
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

## Methods

| Name | Description |
| --- | --- |
| [SelfClosed<TXmlNode\>\(TXmlNode\)](https://docs.sisk-framework.org/api/TinyComponents.XmlNodeExtensions.SelfClosed.md#TinyComponents_XmlNodeExtensions_SelfClosed__1___0_) | Specifies that this [INode](https://docs.sisk-framework.org/api/TinyComponents.INode.md) will be self-closed. |
| [WithAttribute<TXmlNode\>\(TXmlNode, string\)](https://docs.sisk-framework.org/api/TinyComponents.XmlNodeExtensions.WithAttribute.md#TinyComponents_XmlNodeExtensions_WithAttribute__1___0_System_String_) | Specifies an attribute for this [INode](https://docs.sisk-framework.org/api/TinyComponents.INode.md). |
| [WithAttribute<TXmlNode\>\(TXmlNode, string, object?\)](https://docs.sisk-framework.org/api/TinyComponents.XmlNodeExtensions.WithAttribute.md#TinyComponents_XmlNodeExtensions_WithAttribute__1___0_System_String_System_Object_) | Specifies an attribute for this [INode](https://docs.sisk-framework.org/api/TinyComponents.INode.md). |
| [WithAttributes<TXmlNode\>\(TXmlNode, object?\)](https://docs.sisk-framework.org/api/TinyComponents.XmlNodeExtensions.WithAttributes.md#TinyComponents_XmlNodeExtensions_WithAttributes__1___0_System_Object_) | Specifies multiple attributes for this [INode](https://docs.sisk-framework.org/api/TinyComponents.INode.md) from an object. |
| [WithContent<TXmlNode\>\(TXmlNode, Action<TXmlNode\>\)](https://docs.sisk-framework.org/api/TinyComponents.XmlNodeExtensions.WithContent.md#TinyComponents_XmlNodeExtensions_WithContent__1___0_System_Action___0__) | Specifies children contents for this [INode](https://docs.sisk-framework.org/api/TinyComponents.INode.md). |
| [WithContent<TXmlNode\>\(TXmlNode, object?\)](https://docs.sisk-framework.org/api/TinyComponents.XmlNodeExtensions.WithContent.md#TinyComponents_XmlNodeExtensions_WithContent__1___0_System_Object_) | Specifies children contents for this [INode](https://docs.sisk-framework.org/api/TinyComponents.INode.md). |
| [WithContent<TXmlNode\>\(TXmlNode, string?\)](https://docs.sisk-framework.org/api/TinyComponents.XmlNodeExtensions.WithContent.md#TinyComponents_XmlNodeExtensions_WithContent__1___0_System_String_) | Specifies children contents for this [INode](https://docs.sisk-framework.org/api/TinyComponents.INode.md). |
