XML improvements in .NET Framework 2.0

I just found this rather interesting article on MSDN that describes what’s new in the System.Xml namespace for .NET Framework 2.0. The main points I took note of where:

  • Always use the new factory methods for creating XmlReaders and XmlWriters (i.e. XmlReader.Create and XmlWriter.Create)
  • Use XslCompiledTransform instead of XslTransform. Apparently, it compiles your XSLT into MSIL code, which is way cool if you ask me!
  • The ReadSubtree()-method on XmlReader looks interesting. It’s always been a bit of a pain navigating an Xml document with just the Read()-method.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

About Me

Consultant, Solution Architect, Developer.

Do note that this blog is very, very old. Please consider that before you follow any of the advice in here!


%d bloggers like this: