In the previous post in my series on Portable C++ on Windows, Compilers and Command Lines, we walked through the steps required to set yourself up with a windows-based C++ development environment which doesn’t rely on the Microsoft platform. We walked through getting set up with MinGW (GCC for Windows), MinGW-MSYS (BASH for Windows) and …
Monthly Archive: December 2008
Dec
09
Top Three Rules for XML
Aside from standard things like using well-formed XML, I have three rules which I think will smooth your use of XML in your applications. 1. Use an XML Schema Always define a schema for your XML document, using XSD and make sure your code is validating against it. Most (half)decent XML libraries will validate against …
Dec
04
Using XPath with a default namespace in .NET 2.0
I have recently been writing an assembly which facilitates automatic deployment of K2.Net 2003 workflows. The assembly reads in a configuration file and deploys the workflows as specified in the configuration file. Also, rather than writing any custom code to validate the XML, I decided to use an XML Schema Definition, mainly because it saves …