< 1 2 3 >   Sort: Rank

What is the difference between XML and HTML
What is the difference between XML and HTML? XML describes data while HTML describes how the data should be displayed. So HTML is about displaying information while XML is about describing information.
2007-10-31, 5097👍, 0💬

Is XML case sensitive
Is XML case sensitive? Yes, they are case sensitive.
2007-10-31, 5537👍, 0💬

If XML does not have closing tag will it work
If XML does not have closing tag will it work? No, every tag in XML which is opened should have a closing tag. For instance in the top if I remove &lt;/discount> tag that XML will not be understood by lot of application.
2007-10-31, 8122👍, 0💬

What is ROOT element in XML
What is ROOT element in XML? In our XML sample given previously &lt;invoice>&lt;/invoi ce>tag is the root element. Root element is the top most elements for a XML.
2007-10-31, 4912👍, 0💬

What is the version information in XML
What is the version information in XML? “version” tag shows which version of XML is used.
2007-10-31, 6660👍, 0💬

What is XML
What is XML? XML (Extensible markup language) is all about describing data. Below is a XML which describes invoice data. &lt;?xml version="1.0" encoding="ISO-8859-1"?> &lt;invoice> &lt;productname>Shoes &lt;qty>12 &lt;totalcost>100 &lt;discount>10 &lt;/invoice> An XML tag...
2007-10-31, 4957👍, 0💬

Using XML with Non-Latin Characters
Can XML use non-Latin charac'ters? Yes. The XML Specification explicitly says XML uses ISO 10646, the international standard character repertoire which covers most known languages. Unicode is an identical repertoire, and the two standards track each other. The spec says (2.2): All XML processors mus...
2007-04-11, 4965👍, 0💬

Using XML Files with SGML Tools
If XML is just a subset of SGML, can I use XML files directly with existing SGML tools? Yes, provided you use up-to-date SGML software which knows about the WebSGML Adaptations TC to ISO 8879 (the features needed to support XML, such as the variant form for EMPTY elements; some aspects of the SGML D...
2007-04-11, 4799👍, 0💬

Is there an XML version of HTML
Is there an XML version of HTML? Yes. The W3C recommends using XHTML which is a reformulation of HTML 4 in XML 1.0. This specification defines HTML as an XML application, and provides three DTDs corresponding to the ones defined by HTML 4.* (Strict, Transitional, and Frameset). The semantics of the ...
2007-04-11, 4752👍, 0💬

How can I make my existing HTML files work in XML
How can I make my existing HTML files work in XML? Either convert them to conform to some new document type (with or without a DTD or Schema) and write a stylesheet to go with them; or edit them to conform to XHTML. It is necessary to convert existing HTML files because XML does not permit end-tag m...
2007-04-11, 4786👍, 0💬

Which parts of an XML document are case-sensitive
Which parts of an XML document are case-sensitive? All of it, both markup and text. This is significantly different from HTML and most other SGML applications. It was done to allow markup in non-Latin-alphabet languages, and to obviate problems with case-folding in writing systems which are caseless...
2007-04-11, 4649👍, 0💬

How does XML handle white-space in my documents
How does XML handle white-space in my documents? All white-space, including linebreaks, TAB characters, and normal spaces, even between structural elements where no text can ever appear, is passed by the parser unchanged to the application (browser, formatter, viewer, converter, etc), identifying th...
2007-04-11, 4807👍, 0💬

What does an XML document actually look like
What does an XML document actually look like? The basic structure of XML is similar to other applications of SGML, including HTML. The basic components can be seen in the following examples. An XML document starts with a Prolog of the required the XML declaration &lt;?xml version="1.0" encoding=...
2007-04-11, 5365👍, 0💬

Do I have to know HTML or SGML before I learn XML
Do I have to know HTML or SGML before I learn XML? No. Although it's useful because a lot of XML terminology and practice derives from two decades' experience of SGML. Be aware that "knowing HTML" is not the same as "understanding SGML". Although HTML was written as an SGML application, browsers ign...
2007-04-11, 4849👍, 0💬

Does XML Replace HTML
Does XML replace HTML? No. XML itself does not replace HTML. Instead, it provides an alternative which allows you to define your own set of markup elements. HTML is expected to remain in common use for some time to come, and the current version of HTML is in XML syntax. XML is designed to make the w...
2007-04-11, 5043👍, 0💬

What is the difference between XML and C or C++ or Java
What is the difference between XML and C or C++ or Java? C and C++ (and other languages like FORTRAN, or Pascal, or Visual Basic, or Java or hundreds more) are programming languages with which you specify calculations, actions, and decisions to be carried out in order. XML is a markup specification ...
2007-04-11, 4849👍, 0💬

Building Search Engines for Large Volumes of XML Data
How would you build a search engine for large volumes of XML data? The way candidates answer this question may provide insight into their view of XML data. For those who view XML primarily as a way to denote structure for text files, a common answer is to build a full-text search and handle the data...
2007-04-11, 4793👍, 0💬

Creating External References in DTD
When constructing an XML DTD, how do you create an external entity reference in an attribute value? Every interview session should have at least one trick question. Although possible when using SGML, XML DTDs don't support defining external entity references in attribute values. It's more important ...
2007-04-11, 4838👍, 0💬

Extract a specific attribute from an element using XSLT
Using XSLT, how would you extract a specific attribute from an element in an XML document? Successful candidates should recognize this as one of the most basic applications of XSLT. If they are not able to construct a reply similar to the example below, they should at least be able to identify the c...
2007-04-11, 4906👍, 0💬

Examples of XML DTDs or schemas that you have worked with
Give some examples of XML DTDs or schemas that you have worked with Although XML does not require data to be validated against a DTD, many of the benefits of using the technology are derived from being able to validate XML documents against business or technical architecture rules. Polling for the l...
2007-04-11, 4643👍, 0💬

Walking us through the steps necessary to parse XML documents
Can you walk us through the steps necessary to parse XML documents? Superficially, this is a fairly basic question. However, the point is not to determine whether candidates understand the concept of a parser but rather have them walk through the process of parsing XML documents step-by-step. Determ...
2007-04-11, 4890👍, 0💬

Why Should I Use XML
Why should I use XML? Here are a few reasons for using XML (in no particular order). Not all of these will apply to your own requirements, and you may have additional reasons not mentioned here. XML can be used to describe and identify information accurately and unambiguously, in a way that computer...
2007-04-11, 4706👍, 0💬

Why There Is No Extension of HTML
Why not just carry on extending HTML? HTML was already overburdened with dozens of interesting but incompatible inventions from different manufacturers, because it provides only one way of describing your information. XML allows groups of people or organizations to create their own customized markup...
2007-04-11, 4728👍, 0💬

What is SOAP and how does it relate to XML? The Simple Object Access Protocol (SOAP) uses XML to define a protocol for the exchange of information in distributed computing environments. SOAP consists of three components: an envelope, a set of encoding rules, and a convention for representing remote ...
2007-04-11, 4876👍, 0💬

< 1 2 3 >   Sort: Rank