Category: Microsoft

  • UTF-8 Encoding with XMLWriter and a Stringbuilder

    You could waste a lot of time trying to figure out why an XMLWriter ignores the Encoding set on XMLWriterSettings that is passed into the XMLTextWriter.Create() function.  Instead, read the following blog post and move along… http://devproj20.blogspot.com/2008/02/writing-xml-with-utf-8-encoding-using.html

  • The Sun Also Rises (on the Technology Coast)

    One generation passeth away, and another generation cometh: but the earth abideth for ever. The sun also ariseth, and the sun goeth down, and hasteth to his place where he arose. -Ecclesiastes 1:5-6 Apple released Mac OS X in 1999, using a BSD core and embracing many libraries and utilities of the open source world.  […]

  • Write and Validate XML with a DTD in Memory in .Net

    This is the sample of piecing together a lto of different posts, so I thought I’d put a sample on the web… I’m putting it in VB.Net (because I was writing in it due to project requirements Imports System.Xml Imports System.Xml.Schema Imports System.Text Imports System.IO Public Class MyXMLTool   Private sb As New StringBuilder(“”)   Private […]