DialectSoftware.XML.Dynamics 2.0.1

Example:

http://www.service-architecture.com/articles/object-oriented-databases/xml_file_for_complex_data.html

dynamic obj = DynamicParser.Parse(xml);
           Assert.IsTrue((string)obj.product.description == "Cardigan Sweater");
           foreach (dynamic catalog in obj.product.catalog_item)
           {
               foreach (dynamic size in catalog.size)
               {
                   Assert.IsNotNull(size.description);
               }
           }

dynamic obj = DynamicParser.Parse(xml);
           foreach (dynamic catalog in obj.product.Select("*[starts-with(name(.), 'catalog')]"))
           {
               foreach (dynamic size in catalog.Select("*[starts-with(name(.), 'size')]", true))
               {
                   foreach (dynamic s in size)
                   {
                       Assert.IsNotNull(s.description);
                   }
               }
           }

Install-Package DialectSoftware.XML.Dynamics -Version 2.0.1
dotnet add package DialectSoftware.XML.Dynamics --version 2.0.1
<PackageReference Include="DialectSoftware.XML.Dynamics" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DialectSoftware.XML.Dynamics --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DialectSoftware.XML.Dynamics, 2.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DialectSoftware.XML.Dynamics as a Cake Addin
#addin nuget:?package=DialectSoftware.XML.Dynamics&version=2.0.1

// Install DialectSoftware.XML.Dynamics as a Cake Tool
#tool nuget:?package=DialectSoftware.XML.Dynamics&version=2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

This release does only support schemas with a single namespaces in the hierarchy.

Dependencies

This package has 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 History

Version Downloads Last updated
2.0.1 1,071 8/25/2015