IT Community - Software Programming, Web Development and Technical Support

SGML and XML

This is a discussion on SGML and XML within the XML and SOAP forums, part of the Web Development category; What are the differences of XML and SGML, I've read that it is quite not that different, and if ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > XML and SOAP

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-05-2007, 08:39 AM
nhoj nhoj is offline
D-Web Programmer
 
Join Date: Apr 2007
Posts: 96
nhoj is on a distinguished road
Default SGML and XML

What are the differences of XML and SGML, I've read that it is quite not that different, and if that is the case; why do we need XML for when SGML already exists?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-06-2007, 11:10 PM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
vadivelanvaidyanathan is on a distinguished road
Default Re: SGML and XML

SGML (Standard Generalized Markup Language) is the international standard for defining descriptions of structure and content in electronic documents.

XML is a simplified version of SGML; XML was designed to maintain the most useful parts of SGML.

Whereas SGML requires that structured documents reference a Document Type Definition (DTD) to be "valid," XML allows for "well-formed" data and can be delivered without a DTD. XML was designed so that SGML can be delivered, as XML, over the Web.

What does XML mean to SGML product vendors? On the technology front, SGML products should be able to read valid XML documents as they sit, as long as they are in 7-bit ASCII. To read internationalized XML documents, (for example in Japanese) SGML software will need modification to handle the ISO standard 10646 character set, and probably also a few industry-but-not-ISO standard encodings such as JIS and Big5. To write XML, SGML products are going to have to be modified to use the special XML syntax for empty elements.

On the business front, much depends on whether the Web browsers learn XML. If they do, SGML product vendors should brace for a sudden, dramatic demand for products and services from all the technology innovators who are, at the moment, striving to get their own extensions into HTML, and will (correctly) see XML as the way to make this happen. If the browsers remain tied to the fixed set of HTML tags, then XML will simply be an easy on-ramp to SGML, important probably more because the spec is short and simple than because of its technical characteristics. This will probably still generate an increase in market size, but not at the insane-seeming rate that would result from the browers' adoption of XML.

Comparison of SGML and XML please look here

-V.Vadivelan
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is SGML? itbarota HTML, CSS and Javascript Coding Techniques 1 09-12-2007 01:30 AM


All times are GMT -7. The time now is 10:17 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0