Archive for April, 2008

XSL: The Style of XML

XSL: The Style of XML is deleted by Admin. For more information please send mail me.

Posted by admin on April 30th, 2008 1 Comment

Modularization of XHTML

On 10 April 2001, the W3C released the modularization of XHTML as a recommendation. This will allow XHTML to reach a wider audience and more platforms. Soon, you may see XHTML on things like your cell phone or television.

What is XHTML
XHTML is HTML rewritten to be a valid XML language. There are three XML types that correspond to the three HTML DTDs: strict, transitional, and frameset.

  • strict - the most restrictive version of HTML
  • transitional - a more lax version to allow for older documents that are updated to XHTML
  • frameset - the specific HTML definition for frames

What is Modularization?
Modularization takes apart the language into separate modules or subsets that provide various types of functionality. These modules may be combined with one another and with other modules to create extended XHTML. This allows XHTML, which stands for eXtensible HTML to really become extensible.

(more…)

Posted by admin on April 1st, 2008 1 Comment

Examining XML

The latest specification of the Extensible Markup Language is available online at the W3C. This specification completely describes XML. But it can be fairly difficult to understand. In this article, we will examine several parts of the XML specification in order to understand the basics of an XML document.

Definitions

characters
a character is one unit of text, such as a letter, numeral, space, tab, and other Unicode characters
DTD
Document Type Definition, the actual grammar of the XML document
Document Type Declaration, the statement at the top of valid XML documents defining where to find the Document Type Definition
entity
a storage unit for the XML document. Each XML document consists of one or more entities. For example, the HTML tag <html></html> defines an entire html entity.
XML
Extensible Markup Language
XML document
a document that is well-formed as described in the XML specification

XML Documents
As mentioned in the definitions, an XML document is comprised of entities and is well-formed if it conforms to the standards in the XML specification. There are some basic aspects of an XML document.

  • white space
    XML treats white space (spaces, tabs, carriage returns) the way HTML does. One or more white space character is treated as only one.
  • character tags
    XML uses the same characters as HTML for indicating tags and elements, specifically <, >, and &. It also uses the colon (:) within XML names for namespaces.
  • other characters
    Other ASCII and Unicode characters are taken as literal unless the DTD or other element of the document redefines them.
  • comments
    XML also uses the same comment style you are familiar with in HTML <– –>
  • processing instructions
    These are special tags created to contain instructions for applications. They are indicated with <? and ?> tags
  • CDATA
    When you have a large block of XML code you would like to comment out quickly or information you need to mark as data rather than actual code, you can use the <![CDATA[ tag and end the section with ]]>

(more…)

Posted by admin on April 1st, 2008 1 Comment