DCoding.Xml.Serialization
1.0.1
dotnet add package DCoding.Xml.Serialization --version 1.0.1
NuGet\Install-Package DCoding.Xml.Serialization -Version 1.0.1
<PackageReference Include="DCoding.Xml.Serialization" Version="1.0.1" />
<PackageVersion Include="DCoding.Xml.Serialization" Version="1.0.1" />
<PackageReference Include="DCoding.Xml.Serialization" />
paket add DCoding.Xml.Serialization --version 1.0.1
#r "nuget: DCoding.Xml.Serialization, 1.0.1"
#:package DCoding.Xml.Serialization@1.0.1
#addin nuget:?package=DCoding.Xml.Serialization&version=1.0.1
#tool nuget:?package=DCoding.Xml.Serialization&version=1.0.1
DCoding.Xml v1.0 core packages
Declared library assets: net8.0, net11.0.
The common guide covers Xdm, XPath, Serialization, Xslt and the optional System.Xml migration facade. These packages belong to the proprietary zero-price Community selection, also included in Professional. The exact edition/package/API catalog is generated from the versioned registries. Source availability is not an open-source license. See this package's LICENSE.md and NOTICE.md for its current legal boundary; technical scope is not final release approval.
Reference only the packages you use, from an explicitly authorized feed and an exact available version. All core libraries retain net8.0 assets for net8/net10 consumers and add native net11.0 Runtime Async assets. NuGet selects the net11.0 asset for .NET 11 applications. .NET 10 remains the primary runtime; .NET 8 is migration compatibility under the servicing policy. The reflected compatibility facade is managed/source only. Native deployment of other selected APIs needs application-specific qualification.
Evaluate and serialize
After installing DCoding.Xml.XPath:
using DCoding.Xml.Serialization;
using DCoding.Xml.XPath;
var compiled = XPathProcessor.Compile("40 + 2");
if (!compiled.Success) throw new InvalidOperationException("Inspect compile diagnostics.");
var result = XPathProcessor.Evaluate(compiled.CompiledExpression!);
if (!result.Success || result.Value is null) throw new InvalidOperationException("Inspect execution diagnostics.");
var text = new XdmSerializationOptionsBuilder { Method = XdmSerializationMethod.Text }.Build();
Console.WriteLine(XdmSerializer.Serialize(result.Value, text)); // 42
Serialization supplies XML, HTML, XHTML, text, JSON and adaptive methods. Both synchronous and asynchronous APIs retain caller ownership of supplied streams/writers. Await each asynchronous operation once and pass request cancellation; failures can leave a prefix, do not flush and do not close a borrowed destination. Ordinary output is not canonical or cryptographic XML. The root guide's executable examples include a genuinely pending async-only output host and cancellation.
Migration and optional providers
Use an explicit alias for DCoding.Xml.Xslt.Compatibility.XslCompiledTransform when it coexists with the BCL System.Xml.Xsl.XslCompiledTransform. Script and ambient URI resolution remain disabled; enable only the required operation and supply a confined resolver. The migration sample runs parameters and exact output with explicit authority; the native XSLT sample uses grouping and controlled document access.
Optional packages register nothing implicitly. EXSLT selects Common, Sets and Strings through an explicit function host. Professional schema/PSVI, Full Text, Update, optimizer and streaming providers retain their exact configuration, licensing and prepared-plan compatibility boundaries. A license grants no file/network/credential capability and adds no mandatory license service or native dependency to the independent core.
Use trusted base URIs, finite resource/parser limits, cancellation and DTD prohibition. Experimental 4.0, unselected extension modules, cloud/RESTXQ and residual convenience adapters are excluded from v1.0. No historical v0.x case count or package-only example establishes full standards conformance for the current candidate. Prices, legal rights, final qualification and public publication retain their explicit approval gates.
Asynchronous XSLT schema acquisition
Development builds of DCoding.Xml.Xslt expose IXsltAsyncSchemaProvider and
IXsltAsyncSchemaImportProvider as provider-neutral contracts.
XsltCompileOptions.AsyncSchemaProvider selects asynchronous snapshot
acquisition; AsyncSchemaResolver selects explicit schema-document authority.
XsltProcessor.CompileAsync awaits effective imports before the existing static
analysis and IR stages. The optional SchemaAware package supplies real XSD
1.0/1.1 implementations. Core installation grants no resource access or optional
provider registration. Synchronous compilation rejects async schema selections.
See the selection and ownership contract.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net11.0 is compatible. |
-
net11.0
- DCoding.Xml.Xdm (>= 1.0.1)
-
net8.0
- DCoding.Xml.Xdm (>= 1.0.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on DCoding.Xml.Serialization:
| Package | Downloads |
|---|---|
|
DCoding.Xml.XPath
XPath parser and evaluator for DCoding XML processing. |
|
|
DCoding.Xml.Xslt
XSLT processor core for DCoding XML processing. |
|
|
DCoding.Xml.XQuery
XQuery compiler and runtime composition over the shared DCoding XML stack. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 88 | 11/20/2026 |
Stable 1.0.1: licensing and packaging correction delivery. Public APIs and edition rights are unchanged.