Solution:
Just go to server explorer, right click references and select System.XML from the .Net tab. Rebuild your project and the error should no longer be there.
Filed under: .net, Microsoft, Technical, XML | 2 Comments »
Solution:
Just go to server explorer, right click references and select System.XML from the .Net tab. Rebuild your project and the error should no longer be there.
Filed under: .net, Microsoft, Technical, XML | 2 Comments »
I wanted to do a case insensitive xpath lookup in my C# .Net application. There was no direct way that i could find to get the job done, but fortunately the workaround ain’t that difficult. Lets consider the following example:
<xml><books><book id=”1″ name=”Book1″ type=”fiction” /><book id=”2″ name=”Book2″ type=”nonfiction” /><book id=”1″ name=”Book1″ type=”FICTION” /></books>
To request for all [...]
Filed under: C#, Microsoft, Technical, Tips, XML | Leave a Comment »
I had a blog server which I felt compelled to migrate to WordPress 2.5. The existing blog server can only emit the data in the BlogML format. So I set out to find an BlogML importer for WordPress 2.5. I stumbled upon Aaron’s post on importing to wordpress. So here is what needs to be [...]
Filed under: Blog, Blog Help, BlogML, Wordpress, XML | 5 Comments »
W3C has defined a set of illegal characters for use in XML . You can find info about the same here:
XML 1.0 | XML 1.1
Here is a function to remove these characters from a specified XML file:
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace XMLUtils
{
class Standards
{
[...]
Filed under: .net, C#, Code, Microsoft, Standards, Technical, XML | Tagged: Illegal Characters, W3c, XML | 18 Comments »