mort8088.XML.XmlHelper 1.0.3

Additional Details

.NET 5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package mort8088.XML.XmlHelper --version 1.0.3
                    
NuGet\Install-Package mort8088.XML.XmlHelper -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="mort8088.XML.XmlHelper" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="mort8088.XML.XmlHelper" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="mort8088.XML.XmlHelper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add mort8088.XML.XmlHelper --version 1.0.3
                    
#r "nuget: mort8088.XML.XmlHelper, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package mort8088.XML.XmlHelper@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=mort8088.XML.XmlHelper&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=mort8088.XML.XmlHelper&version=1.0.3
                    
Install as a Cake Tool

mort8088.XML.XmlHelper

The XmlHelper is a static class containing methods to complete a number of common tasks while working with XmlDocuments.

Updated to be used with .NET Core

Methods

  • NewDoc
    Creates an empty XmlDocument object with an Xml Declaration assigned as version 1.0 encoding UTF-8
  • AddRootNode
    Create a root node on a given document
  • AddAttrib
    Adds the Named attribute with a given value to an existing Node, returns a link to the new attribute created.
  • AddNode
    Create a new node on a given node, returns a reference to the newly created node.
  • AddComment
    Create a new comment node in a given node
  • AddTextNode
    Create a new text node on a given node with a given value, returns a reference to the newly created node.
  • PrettyPrint
    Attractively format the XML with consistent indentation, returns an XML string with carriage returns and indentations.
  • ReadAttrib
    Read a value from a given attribute on an existing node, returns value of the attribute or NULL if not found.
  • ReadTextNode
    Read a value from a given text node on an existing node, returns inner text of the node.
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

rewritten for use with .NET Core