hosting review, Hosting, web hosting, hosting company, shared hosting

XML for web development

XML is the Extensible Markup Language. XML uses tags very similar to HTML, instead of describing the structure of the page the tags, XML uses the tags to describe the data. It allows a structured data format extended without breaking previous implementations.
* XML stands for Extensible Markup Language
* XML was designed to describe data
* XML is a markup language much like HTML
* XML tags are not predefined. You must define your tags
* XML uses a Document Type Definition (DTD) or an XML Schema to describe the data
* XML with a DTD or XML Schema is designed to be self-descriptive

Difference Between XML and HTML?

XML was designed to describe data and to focus on what data is, and HTML was designed to display data and to focus on how data looks.


HTML is about displaying information, while XML is about describing information.

In HTML, The tags used to mark up HTML documents, and the structure of HTML documents are predefined, but in XML, XML allows the author to define his tags and his document structure.


XML is becoming a standard way for people to export and import data from different systems. Its simplified markup language makes it easy for different systems to read data in, without knowing the exact structure of the data. If the XML data description correctly created it is possible to add additional information to your XML data files without affecting a system that is already using the information.

If you load XML data into Flash, an object model will create that will allow you to manipulate and extract the data easily. The same object model is available to build XML data and export it to an external system.

XML API, written in Java, is designed to manage H-Sphere services from remote applications via SOAP. It uses the Apache Axis implementation of SOAP and runs under the Apache Tomcat engine.

Remote applications interact with CP services using XML-formatted requests transferred via HTTP (Direct TCP connection can also be set up). Error messages are also processed in XML.

XML schema is based on the SOAP RPC convention.

XML API is helping in communication between remote applications and the Control Panel.

XML API mechanism

First of all, a remote Java application calls CP methods to perform particular actions e.g., to create an account or to return the list of domains.
For this, it invokes its SOAP client to form the corresponding XML request and to HTTP it to the Control Panel.
Then, the CP SOAP server receives this XML request, parses the request and calls a target H-Sphere service.
The target H-Sphere service performs actions according to the received request (for example, creates an account or returns the list of domains), and responds via the SOAP server to the remote application.
If the request is incorrect, the SOAP server returns XML with SOAP fault.

Therefore, though HTTP used for data transfer, H-Sphere XML API services are not called from a Web browser!

XML API Actions

Actions supported by XML API are grouped by services:

  1. Admin Services - basic admin services: adding new accounts, etc.

  2. User Services - basic user services: getting account information

  3. Domain Services - creating/deleting domains and subdomains

  4. Web Services - managing Web options

  5. FTP Services - managing FTP options

  6. User FTP Services - managing user FTP resources: sub users, passwords, etc.

  7. DNS Services - Managing DNS

  8. Mail Services - creating/deleting mailboxes, mailing lists, autoresponders, mail forwards, etc.

  9. MySQL Services - managing MySQL databases and users

  10. PostgreSQL Services - managing PostgreSQL databases and users

  11. MSSQL Services - managing MSSQL databases and users

  12. Support Services - managing trouble tickets (H-Sphere support center)

  13. Migration Services - migrating users and resellers using corresponding XML forms

  14. PGP Services - PGP encryption/decryption in H-Sphere trouble tickets

Web browsers only know how to display one type of XML: XHTML. All other XML opened in a Web browser will display as plain markup code unless you tell the browser how to display that markup. In other words, you could markup a complete XML document and never tell it how to display in a browser or a printout. In fact, most XML has no styles attached to it, because they aren't meant to be viewed in Web browsers. Instead, used as data sources for Web applications like with Ajax.
The simplest way to display XML in a beautiful fashion is to include SHTML tags in the markup. It tells Web browsers how to display the content. You can also use CSS style sheets to style XML and have it display in browsers that way.

Compnay Name Price Visit Now
cpwebhosting "Best Web Hosting"
$2.75 /mo.
Visit Site
a2hosting "Best Shared Hosting"
$3.92/mo.
Visit Site
servermania "Hybrid Smart Servers"
$29 /mo.
Visit Site
liquidweb "Managed Wordpress Hosting"
$99 /mo.
Visit Site
247-host "Best Windows VPS Hosting"
$29.99 /mo.
Visit Now
siteground "Best Affordable Hosting"
$3.95 /mo.
Visit Site
uk2.net "Best Business Hosting"
£3.57 /mo.
Visit Site
iPage "Cheapest WebHosting"
$1.99 /mo.
Visit Site