Click here to Skip to main content
15,881,248 members
Everything / Programming Languages / XML

XML

XML

Great Reads

by Alex Pumpet
A simple program for comparing table data from two sources - SQL databases, Excel, CSV or XML-files
by shunninghuang
CPS1 emulator, ROM hacking
by David Rogers Dev
Learn how to load related entities using the Entity Framework with simple examples
by Thomas Weller
Demonstrates how to run Python scripts from C#

Latest Articles

by Macabies Gilles
An easy-to-use filterable, multilingual custom DataGrid control for managing and filtering data for your WPF applications
by Ștefan-Mihai MOGA
A look at the URLDownloadToFile function and architecture of IntelliLink
by shunninghuang
C# arcade emulator, ROM hacking
by Chandru BK
This article will assume you have basic knowledge of C# and Xamarin Forms and shows how to implement the Xamarin Form Validations using simple Data Annotations applied on the models.

All Articles

Sort by Score

XML 

6 Feb 2023 by shunninghuang
Software named M1.NET which shows the details of decrypting arcade game audio
15 Oct 2020 by RickZeeland
PostgreSQL notifications Windows Forms application
15 Oct 2018 by moneema14
A parser event listener for PDF tables to .NET Dataset object
5 Jan 2023 by vblover Programmer
Load Menu from Resource-Only DLL (created by VC++) and Set for Form As MainMenu by API Functions.
16 May 2014 by B. Clay Shannon
Step-by-step instructions for adding an Async Task to an Android Activity
25 Jun 2018 by Clifford Nelson
A way to create a custom derived control with the XAML file attached like a UserControl
20 Jun 2018 by Clifford Nelson
This behavior will select the entire text when a TextBox or PasswordBox gains focus
30 Oct 2018 by Carsten Breum
Data Virtualization example with a pagesize and async data request
4 Feb 2020 by Southmountain
Some tips on how to compile legacy Win32 programs in Visual Studio 2019 - may save you few hours to figure out why
1 Jul 2019 by Lance Roberts
A tray utility for monitoring log files and popping up error messages
18 Apr 2018 by Clifford Nelson
I had a situation where a control appearing was significantly affected by the initialization of the UserControls. This behavior fixed my problem.
27 Dec 2018 by Alessio Aronica
Generate forms from MVC models in one simple line of code
18 Dec 2021 by Kai Schtrom
Win32_NetworkAdapterConfiguration WMI class in plain C and C++
19 May 2014 by B. Clay Shannon
How to create an Android Activity and its associated Layout file, then invoke (intent) them from another Activity
10 Jun 2014 by Anamera
This XSLT will output an Excel worksheet containing a CSV type of record collection in a more usable XML format.
5 Jun 2014 by Erik Vullings
Generate a PowerPoint presentation, consisting of slides with a title and an image, without requiring Microsoft Office
2 Aug 2017 by Nikita D. Sinelnikov
Creating a pretty-view XML for web applications (or other needs)
15 Mar 2021 by Pablo A Martinez
How to use Google map and Spatial search to do freehand drawing
17 May 2010 by Rama Krishna Vavilala
I will just make it a little more compact by omitting the Contains method:public static string GetValue(this XElement root, string name, string defaultValue) { return (string)root.Elements(name).FirstOrDefault() ?? defaultValue; }The explicit operators for XElement...
26 Jul 2013 by Mannava Siva Aditya
Reading XML data into a DataTable.
16 Apr 2015 by kingddd
Introducing a new tool to transform trx (mstest results file) into HTML report
23 Jun 2015 by MarcusCole6833
A simple program to make an HTML page from an XML file
9 Nov 2015 by veen_rp
A simple, step by step tutorial to set up an MS-Office Excel Ribbon, launch your own .NET applications from Excel and interact with the spreadsheet values.
5 Jun 2018 by Shao Voon Wong
Performance of Floating Point and Integer Arithmetic has closed gap in modern CPU
21 Dec 2018 by Member 3471983
Add Filter Sort and Theme to a datagridview
21 Feb 2021 by HenkAlles
Show Simple Log - see the article by Jochen Scharr - in the browser with a nice layout
31 Oct 2022 by flyhigh
By implementing a UI library and exporting its necessary components to lua script, we can create a beautiful UI and implement relevant logic in Lua script completely.
14 Apr 2010 by marc9889
This is an example of one way to parse an HTML document by using a recursive function. In this example, an html document is loaded from a text file, but the code also demonstrates (in remarks) using a web page as a source file.When the recursive function is called, a conditional statement...
19 Apr 2011 by Joshi, Rushikesh
You learn how to create your own Code Snippets and publish them to your Team to use them.
6 Nov 2011 by Adel Refaat
A quick example of how to do grouping in XSLT version 1.0
10 Feb 2014 by B. Clay Shannon
How to save a collection of objects as XML, JSON, or CSV
1 Apr 2014 by sbarnes
Sometimes better isn't, necessarily
25 Apr 2014 by Frankxcid
Class that allows you to programmatically create an Open XML Excel spreadsheet
26 Oct 2015 by Hamid Mosalla
In the next two posts, I’m going to show you how to build a load more button for your page using ASP.NET MVC, you can use it for any various kind of things, but in the case of this tutorial, I’ll use it for my fictitious product list.
31 Aug 2016 by adityave22
This article explains how to write JavaScript code in Atlassian Jira to call external REST APIs and load json data into Jira custom fields
24 Aug 2018 by simonp_ca
How to remove Windows service from Service List (not just stop/disable it, but to delete it from the list totally)
7 Dec 2018 by Dirk Bahle
Making better use of the available UI space.
18 Feb 2019 by Steffen Ploetz
How to realize text copy functionality via inter process communication for your OpenTK based C# OpenGL application running on X11
12 Aug 2019 by Member 13092868
This tool helps you create a label with given degrees of view angle. Also helps you estimate REAL label height and width by providing you linear correction functions to apply to inaccurate MeasureString values
5 May 2020 by Marcus Müller
Use Windows 10 build-in tools to configure VPNs for automatic reconnection after a connection is lost
7 Jan 2011 by Paul Schwartzberg
If you have unformatted XML in a string and need to format it for visual presentation, e.g. for sending it to your UI, here's how to do it for Silverlight 4.0.
15 Sep 2011 by Bryian Tan
Social sharing buttons script created by using jQuery and XML for your website
28 Jun 2012 by ROHIT SHAW
It shows how to display a badge notification in Windows 8 metro app
10 Dec 2013 by Bruce Yang CL
A way to query the data from Internet
16 Jan 2014 by Codes Of Shadows
Header Style Combo Box Drop Down Filter Button
30 Jan 2014 by @donis2014
How to configure IIS Express "applicationhost.config" for handler mappings
16 May 2014 by B. Clay Shannon
How to quickly and easily change a Layout's header text
15 Feb 2015 by RemcoReitsma
This tip shows how you can add an XSD schema in Visual Studio to enable XML intellisense.
3 Apr 2018 by Christiaan van Bergen
How to perform XPath queries on all lower case elements
23 Mar 2019 by Martin Vorbrodt
Base64 encoding
23 Mar 2019 by Martin Vorbrodt
XML-RPC
28 Sep 2022 by Cinchoo
Quick tutorial about converting JSON to XML file using Cinchoo ETL
31 Mar 2010 by Ilka Guigova
Setup: A data from one module is passed into another so that Module 1 takes a (flat) file as input and feeds an xml structure into Module 2. While Module 2 is internal, Module 1 is designed to handle different customer inputs into the system. However, it is not always possible to generate the...
29 Jul 2011 by Bob Sandberg
How would you do this, if objects included inside one of the serialized objects was an abstract class? E.g.:abstract class Base{ public int x;}class A : Base{ public int y;}class B : A{ public int z;}class SomeOtherClass{ public string...
1 Aug 2011 by Daniel Gidman
Serializable Extra Types for .NET 4[^]Does what you are looking for using attributes.
2 Oct 2011 by Vishnu Kesaraju
Using LINQ to XML to convert datatables to formatted XML.
12 Jul 2012 by PIEBALDconsult
This is an alternative for "PrettyXML (.NET Port)"
31 Jul 2012 by HemendraSingh88
Hi, here we will see how to query a DataSet with LINQ(Language Integrated Query).
1 Oct 2012 by Jason N. Gaylord
When using a WCF or ASMX web service in ASP.NET, you might find the need to pass back a DateTime object via JSON. However, what you might not realize is that by passing a .NET DateTime object back to JavaScript, you’d receive an “Invalid date” script exception. The data being passe
5 Oct 2012 by Bryan Lyman
Generic list wrapper that returns a smaller strongly typed sub-list which modifies the parent-list when changed, without using events
19 Dec 2012 by Rajesh Kuramdasu
This article describes about converting an XML string to a HTML table.
21 Apr 2013 by emadns
Second tutorial for loading data through code - Sqlite
21 Aug 2013 by karlodegrano
A generic HttpContent Reader that can be used to replace FromBody parameter on Http Action
12 Sep 2013 by dmgcodevil
Framework for performing aggregation and plain MongoDB queries in myBatis style
3 Jan 2014 by Sergii Syrovatchenko
This tip describes the most convenient way of process automation of generating HTML reports for dynamic table-structures and sending them to different people.
27 Feb 2014 by B. Clay Shannon
Pass a long string to a Web API method (not as part of the URI query)
24 Apr 2014 by Amogh Natu
This tip explains how to call a web method with a POST request using xml request messaage in C#.
19 May 2014 by B. Clay Shannon
Simple steps needed to globally change a widget property
21 May 2014 by B. Clay Shannon
In which the user is shown how to enclose multiple widgets in a rectangle
30 May 2014 by B. Clay Shannon
Add borders to Android widgets, such as EditTexts, to "set them off/apart"
4 Jun 2014 by B. Clay Shannon
Wherein the steps to add menu items, and respond to them being selected, is delineated
9 Jun 2014 by B. Clay Shannon
A handful of easy steps to enable using names instead of hex vals for colors
11 Jul 2014 by MANPREET SINGH
How to read XML files and add them into SharePoint 2010 through Powershell
19 Sep 2014 by Dominic Burford
Using FTP with Nant
19 Sep 2014 by Dominic Burford
Adding unit testing and code coverage to your Nant scripts
26 Jan 2015 by John C Rayan
How to process very large XML files
26 Feb 2015 by Mohit Johri
This article will give a brief introduction about WIX toolset that builds Windows installation packages from XML source code with an example
13 Apr 2015 by Keerthi_Kumar_N
Configuring the web.xml for any Java/J2ee project using a programmatic approach
7 Jan 2016 by Sandeep Neela
Platform independent jQuery workaround for legacy “Data Islands”
19 Feb 2016 by mbruchet
It is often requested by the customer to import a data file in XML format. It is therefore easier to work in object mode, however, the XML transformation into a pure object might take time to be developed. ExpandoObject provides an answer to this problem ...
22 Jun 2018 by Azim Zahir
This is a demonstration of a Torch application built using Android.
1 Jul 2020 by Hariprasanth S
Navigation pattern like in Google News Stand app with transitions
24 Dec 2018 by Shao Voon Wong
It could be a hacking to crash your program.
11 Jan 2019 by Harshit Gindra
Check and request for Permissions in Xamarin Forms mobile application
30 Jul 2019 by Sunny Makode
There are several contents available on the internet that talk about injecting dependencies through .svc file's markup [in WCF service application] and it's easy when you have a WCF service application. But, it is equally easy to do that even in your WCF Library project (without .svc).
1 Apr 2020 by Vassili Kravtchenko-Berejnoi
A generic workaround for auto-generating multiple custom columns in a WPF DataGrid in case where the data class has multiple properties of the same type
15 May 2021 by be05x5
SQL script that will generate XML code that you can copy paste into your RDL file and just do it that way
16 May 2021 by G.TR
This tip shows two different approaches for disposing view models that use Reactive Extension
18 Jan 2024 by Lance Ford
Step-by-step guide to enable an ASP.NET web application to override date, time, currency and number formats.
27 Nov 2009 by db_developer
xmlns is special attribute. It determines namespace of current element and its children all as well. You do not have to add it to XmlDocument (XmlElement) explicitly. Use method of XmlDocument:public virtual XmlElement CreateElement( string prefix, string localName, string...
30 Jul 2010 by Slava Khristich
Parsing and navigating XML tree in Windows Phone 7 (WP7)
15 Nov 2010 by Niyazi Yarar
Helps developer to get excel column letter or index
19 Sep 2011 by marc9889
In response to the request to use a website (instead of a file), the pertinent code is shown below. Note that you will need to replace "www.somewebsite.com" with the website page that you want to capture the source code (HTML, for example) from.Dim webclient As System.Net.WebClient = New...
12 Jul 2011 by Paul Schwartzberg
Formatting XML in a string for visual presentation.
24 Aug 2011 by George Swan
Can't you do the same thing without the need for a select statement?XElement xElement = XElement.Load(path);xElement.Elements ("Node").Remove();xElement.Save(path);
17 Nov 2011 by Gusdor
The above solution made me grin as it helped me solved my serialization puzzle. However, if you have an extensible format with components spread over multiple assemblies, this solution may not pick up all the types.I brute force it as follows:List knownTypes = new...
5 Sep 2012 by amitthk
A useful class for persisting your settings to XML config files.
19 Mar 2012 by tomjoly45
How to connect an external stylesheet to XML.