This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "xml_writer.hpp" | |
| #include <iostream> | |
| int main() | |
| { | |
| Writer writer(std::cout); | |
| writer.openElt("Movies"); | |
| writer.openElt("Goldeneye").attr("date", "1998").content("This is a James Bond movie").endElt(); | |
| writer.openElt("Leon").attr("director", "Luc Besson"); | |
| writer.openElt("Actor").attr("role", "Leon").attr("name", "Jean Reno").endAll(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Diagnostics; | |
| using System.Runtime.InteropServices; | |
| namespace Dawson.Accessibility | |
| { | |
| /// <summary> | |
| /// Interaction logic for MouseHooker.xaml | |
| /// Derived from http://blogs.msdn.com/b/toub/archive/2006/05/03/589468.aspx | |
| /// </summary> |
NewerOlder