MozillaZine

MSDN Magazine Article on XML-Based GUIs

Tuesday October 22nd, 2002

Jacob pointed us towards an interesting Microsoft MSDN Magazine article on using XML to create user interfaces. In the tutorial, Paul DiLascia describes how to "develop an XML-based GUI language parser for .NET that lets you code resources, menus, toolbars, and status bars in XML instead of with procedural code." It introduces new XML elements, including <toolbar>, <button> and <menuitem>. Sound familiar? We thought so.

To be fair, DiLascia, who doesn't work for Microsoft, does acknowledge the influence of XUL, though he states, somewhat bizarrely, that it was developed by the "Java language folks". You can download the MotLib.NET C# class library for use in your own .NET applications but note that Microsoft restrictions prevent you from using it in open-source projects.


#2 Not licensed to open source?

by turi

Tuesday October 22nd, 2002 11:02 AM

You are replying to this message

That's a funny license, that is....

The license states:

"You may not include MotLib.NET as part of an open-source project."

And in the FAQ:

"Do I get source code?

Yes."

So it's in fact an open source programm itself (not an entirely free programm, but open source none the less). If the restriction actually is inherited from Microsoft's license, it means, that you can't use MotLib.NET with the .NET-framework. Well, that's funny: Software noone can use at all..... How useful.