Fluent XML Library - Ultra cool, short and weet

By Roy Osherove In .NET, Cool Tools, General Software Devel...

Markdown version

Historical article · Originally published February 26, 2008; technical details may be outdated.

Oh, next time I'm going to generate XML, remind me to use Mark Resmussen's ultra cool XML Fluent Interface library. her'es a killer snippet:

XmlOutput xo = new XmlOutput()
    .XmlDeclaration()
    .Node("root").Within()
        .Node("result").Attribute("type", "boolean").InnerText("true");
[via Glenn]

More in .NET

All posts in .NET