1 2 >   Sort: Rank

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, 5021👍, 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, 4866👍, 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, 4808👍, 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, 4843👍, 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, 4708👍, 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, 4868👍, 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 <?xml version="1.0" encoding=...
2007-04-11, 5432👍, 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, 4922👍, 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, 5100👍, 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, 4911👍, 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, 4866👍, 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, 4891👍, 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, 4958👍, 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, 4702👍, 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, 4943👍, 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, 4767👍, 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, 4782👍, 0💬

SOAP and XML
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, 4931👍, 0💬

DOM and XML
What is DOM and how does it relate to XML? The Document Object Model (DOM) is an interface specification maintained by the W3C DOM Workgroup that defines an application independent mechanism to access, parse, or update XML data. In simple terms it is a hierarchical model that allows developers to ma...
2007-04-11, 4931👍, 0💬

Applications That Can Nenefit from Using XML
Give a few examples of types of applications that can benefit from using XML. There are literally thousands of applications that can benefit from XML technologies. The point of this question is not to have the candidate rattle off a laundry list of projects that they have worked on, but, rather, to ...
2007-04-11, 4646👍, 0💬

Who Is Responsible for XML
Who is responsible for XML? XML is a project of the World Wide Web Consortium (W3C), and the development of the specification is supervised by an XML Working Group. A Special Interest Group of co-opted contributors and experts from various fields contributed comments and reviews by email. XML is a p...
2007-04-11, 4769👍, 0💬

Differences of XML, SGML, and HTML
Aren't XML, SGML, and HTML all the same thing? Not quite. SGML is the mother tongue, and has been used for describing thousands of different document types in many fields of human activity, from transcriptions of ancient Irish manuscripts to the technical documentation for stealth bombers, and from ...
2007-04-11, 4680👍, 0💬

What Is SGML
What is SGML? SGML is the Standard Generalized Markup Language (ISO 8879:1986), the international standard for defining descriptions of the structure of different types of electronic document. There is an SGML FAQ from David Megginson at http://math.albany.edu:8800/hm /sgml/cts-faq.htmlFAQ;and Robin...
2007-04-11, 5085👍, 0💬

Using XSL in Generating HTML Pages from Relational Databases
Describe the role that XSL can play when dynamically generating HTML pages from a relational database Even if candidates have never participated in a project involving this type of architecture, they should recognize it as one of the common uses of XML. Querying a database and then formatting the re...
2007-04-11, 4842👍, 0💬

1 2 >   Sort: Rank