Attention: We have retired the ASP.NET Community Blogs. Learn more >

Contents tagged with XPath

  • Case-insensitive XPath query search on XML Document in ASP.NET

    Sometimes we need to read XML files that are manually written by users and find some elements in the XML tree. Using .NET library, we can easily navigate throughout the whole XML file since the library has excellent support for working with XML files. One of the challenges you may come across is when you want to search for specific node in the XML file, but you are not sure about the letter case (lower, upper or even mixed) of the XML elements.