Skip to main content

Posts

Showing posts with the label XML

XML Global and Local Elements

What Is the Global and Local Elements in XML? An element is global or local depending on how it is defined in a schema.  Any element that is an immediate child of Schema, or is a ref to an immediate child of Schema, is a global element.  All other elements are local elements. What Is ElementFormDefault attribute? An XML Schema can define whether its local elements must be qualified or unqualified in an XML document.  This is declared with the “elementFormDefault” attribute in the <schema> element.   The two possible values are appropriately named: qualified and unqualified. What Is XmlReader class? The XmlrReader class represents a reader that provides fast, noncached, forward-only access from XML data. We must need to import the Xml namespaces before using the XmlReader class in C#.NET - using System.Xml;

35 Best XML Interview Questions | Extensible Markup Language

What Is XML? XML stand for Extensible Markup Language. The  Extensible Markup Language ( XML ) is the universal language for data on the web. Extensible Markup Language (XML) is a technology which allows us to create our own markup language. Extensible Markup Language (XML) documents are universally accepted as a standard way of representing information in platform and language independent manner. Extensible Markup Language (XML) is universal standard for information interchange. Extensible Markup Language (XML) documents can be created in any language and can be used in any language. What Are the Benefits of XML? The Benefits of using XML on the web - 1.       Simplicity - It is very easy to read and understand. 2.       Extensibility - There is no fixed set of tags and the tags can be created as per your needed. 3.       Openness - It is a W3C standard, endorsed by sof...

What Are the difference between XML and HTML?

The HTML is used to mark up text whereas XML is used to mark up data. The HTML is used for UI displaying purpose but the XML is used for data representation. The HTML uses a fixed, unchangeable set of tags but in XML, you make up your own tags. What Is a valid XML document? If a document is structurally correct (with the above well-formed XML rules) then it can called as valid XML documents. How does the XML structure is defined? The Extensible Markup Language (XML) document will have a structure which has to be defined before we can create the documents and work with them. The structural rules can be defined using  many available technologies, but the following are popular way of doing so,  1) Document Type Definition (DTD) 2) Schema What Is DTD? The DTD stands for Document Type Definition and used to define the legal building blocks of an XML document. DTD defines rules for a specific type of document i.e. 1.     ...