Info
Version: | 1.1.0.2 |
Author(s): | Daniel Cazzulino, kzu, Clarius |
Last Update: | Tuesday, August 30, 2011 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://netfx.codeplex.com |
NuGet Url: | https://www.nuget.org/packages/netfx-System.Xml.DynamicXml |
Install
Install-Package netfx-System.Xml.DynamicXml
dotnet add package netfx-System.Xml.DynamicXml
paket add netfx-System.Xml.DynamicXml
netfx-System.Xml.DynamicXml Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
var xdoc = XDocument.Load("rss.xml");
var rss = doc.Root.ToDynamic();
// Type conversion, element traversal
// using dotted path notation
DateTime pubDate = rss.channel.pubDate;
// Type conversion, attribute navigation
// using indexer notation
int port = rss.channel.cloud["port"].