Tag - XML

Restful API Calls vs Socket Communications: Choosing the Right Approach for Your Application

The ability of various systems to communicate with one another is crucial in the realm of software development. The capacity to share data effectively and reliably is essential while developing any kind of software solution, be it a web application, a mobile app, or another. Restful API calls and socket connections are two frequently...

HTTP Services vs SOAP Services In .NET

For many years, integrating applications and systems has been a common use of web services. The two main methods for developing web services in the .NET environment are HTTP Services and SOAP Services. The same function of these two technologies is to make functionality available online for use by other applications. Before deciding which...

Best Backend Frameworks For The Year 2022

Development of software is evolving. Backend frameworks are among the many elements, and they are also one of the more intriguing ones. The best backend frameworks support the development of online solutions, which are becoming more and more well-liked by consumers due to subscription-based business models or web-based iterations of mobile applications. What is...

How to Convert JSON into XML using Java?

XML is a markup language that is used to store data. JSON is a lightweight data-interchange format that is used to exchange data from client to server. Both XML and JSON are similar to HTML in java. If you have ever had the need of converting XML to JSON in Java, you have probably come...

How to use SQL Membership Provider in ASP.NET

The ASP.NET membership feature provides secure credential storage for application users. We will use the following: Web Page Named Login.aspx and another Web Page named CreateUser.aspxLogin Control.Create User Wizard Control. Steps: 1- Configure Forms Authentication in Web.config File To configure forms authentication, set the <authentication> element's mode attribute to "Forms" and then configure your application's Web.config file as shown...

How to sort a whole XML document using XSL

This is a variation of an identity transformation that sorts all nodes and attributes alphabetically. <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output indent="yes"> <xsl:output method="xml" omit-xml-declaration="no"> <xsl:template match="@*|node()" priority="1"> <xsl:copy> <xsl:apply-templates select="@*|node()"> <xsl:sort data-type="text" order="ascending" select="name()"> </xsl:sort></xsl:apply-templates> </xsl:copy></xsl:template> </xsl:output></xsl:output></xsl:stylesheet>

XML Data and Document Storage in SQL Server

XML is a platform-independent data representation format based originally on SGML. Since its popularization, it is becoming used as a data storage format. It has its own type system, based on the XML Schema Definition language (XSD). Both XML and XSD are W3C standards at the Recommendation level. An XML schema defines the format...

Get XPath of an XML node

There are lots of XSL templates out there that get a human readable path to a node. But none of them cover the case when there are more than one node of the same element at the same level. Please find below the code that get XPath of an XML node: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output...