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.
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.
// Install mort8088.XML.XmlHelper as a Cake Addin
#addin nuget:?package=mort8088.XML.XmlHelper&version=1.0.3

// Install mort8088.XML.XmlHelper as a Cake Tool
#tool nuget:?package=mort8088.XML.XmlHelper&version=1.0.3

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. 
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.

Version Downloads Last updated
1.0.4 141 8/30/2023
1.0.3 435 6/6/2021
1.0.2 2,022 1/25/2015

rewritten for use with .NET Core