1 2 >   Sort: Date

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, 5344👍, 0💬

What Is XML
What is XML? XML is the Extensible Markup Language. It improves the functionality of the Web by letting you identify your information in a more accurate, flexible, and adaptable way. It is extensible because it is not a fixed format like HTML (which is a single, predefined markup language). Instead,...
2007-04-11, 5046👍, 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, 5024👍, 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, 4994👍, 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, 4945👍, 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, 4881👍, 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, 4875👍, 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, 4861👍, 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, 4853👍, 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, 4833👍, 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, 4831👍, 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, 4821👍, 0💬

What Is a Markup Language
What Is a Markup Language? A markup language is a set of words and symbols for describing the identity of pieces of a document (for example, 'this is a paragraph', 'this is a heading', 'this is a list', 'this is the caption of this figure', etc). Programs can use this with a stylesheet to create out...
2007-04-11, 4812👍, 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, 4792👍, 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, 4779👍, 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, 4778👍, 0💬

Why Is XML Such an Important Development?
Why is XML such an important development? It removes two constraints which were holding back Web developments: Dependence on a single, inflexible document type (HTML) which was being much abused for tasks it was never designed for; The complexity of full SGML, whose syntax allows many powerful but h...
2007-04-11, 4777👍, 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, 4771👍, 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, 4771👍, 0💬

Where Should I Use XML
Where Should I Use XML? Its goal is to enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML has been designed for ease of implementation and for interoperability with both SGML and HTML. Despite early attempts, browsers never allowed oth...
2007-04-11, 4766👍, 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, 4736👍, 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, 4714👍, 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, 4704👍, 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, 4689👍, 0💬

1 2 >   Sort: Date