Your browser does not seem to support CSS. If images appear below, please disregard them.
toggle
May
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Sponsored Links
Latest Postings
Topic Options
Rate This Topic
#19421 - 05/06/03 03:41 AM SGML
Joined: Dec 2002
Posts: 3,255
§intå× Offline
§intå× Offline



Joined: Dec 2002
Posts: 3,255
Maryland
Anyone here good with SGML? From what I understand it is a meta language you can used to creat mark-up languages. HTML XML both are from SGML. Anyone able to confirm this or tell me I am wrong?


My New site OpenEyes
Top
Sponsored Links
#19422 - 05/06/03 04:09 AM Re: SGML
Joined: Mar 2002
Posts: 1,136
pergesu Offline
UGN Elite Poster
pergesu Offline
UGN Elite Poster

Joined: Mar 2002
Posts: 1,136
Pimpin the Colorizzle
SGML is a markup language that allows you to create other markup languages. It is INCREDIBLY expansive, very difficult to learn, and a major reason why HTML was created from it. HTML is really just a very simple subset of features found in SGML. http://www.w3.org/MarkUp/SGML/ should provide you with a good starting point.

Top
#19423 - 05/06/03 04:31 AM Re: SGML
Joined: Dec 2002
Posts: 3,255
§intå× Offline
§intå× Offline



Joined: Dec 2002
Posts: 3,255
Maryland
So you could code a site in SGML should you want to. Do you know what the browser support is like?


My New site OpenEyes
Top
#19424 - 05/06/03 04:56 AM Re: SGML
Joined: Mar 2002
Posts: 536
fleshwound Offline
Member
fleshwound Offline
Member

Joined: Mar 2002
Posts: 536
CO
Limited to say the least. AFAIK, the best option if you wanted to use SGML for a website, would actually be to use one of the webservers that will see the client requesting, and convert the SGML to HTML specific to what that browser accepts.

I am sure with the limited choice of webservers that make up the majority of the market, this is probably done once and kept in a cache @ the server. Not sure though. I have no statistics, but sounds like a large overhead, to say the least.


"when you look around, you can't tell me honestly you're happy with what you see"
Top
#19425 - 05/06/03 08:42 PM Re: SGML
Joined: Mar 2002
Posts: 1,136
pergesu Offline
UGN Elite Poster
pergesu Offline
UGN Elite Poster

Joined: Mar 2002
Posts: 1,136
Pimpin the Colorizzle
Here we go, I'm gonna type out a page from O'Reilly's HTML & XHTML: The Definitive Guide

"You've certainly heard of HTML, but did you know that it is one of many other markup languages? Indeed, HTML is the black sheep in the family of document markup languages. HTML is based on SGML, the Standard Generalized Markup Language. The powers-that-be created SGML with the intent that it be the one and only markup metalanguage from which all other document markup elements would be created. Everything from heiroglyphics to HTML can be defined using SGML, negating any need for any other markup language.

The problem with SGML is that it is so broad and all-encompassing that mere mortals cannot use it. Using SGML effectively requires very expensive and complex tools that are completely beyond the scope of regular people who just want to bang out an HTML document in their spare time. As a result, HTML and other languages adhere to some, but not all SGML standards,* eliminating many of the more esoteric features so that HTML is readily useable and used.

Recognizing that SGML is unwieldy and not well-suited to describing the very popular HTML in a useful way, and that there was a growing need to define other HTML-like markup languages to handle different network documents, the W3C defined the Extensible Markup Language (XML). Like SGML, XML is a separate formal markup metalanguage that uses select features of SGML to define markup languages. It eliminates many features of SGML that aren't applicable to languages like HTML and simplifies other SGML elements in order to make them easier to use and understand.

HTML Version 4.01 is not XML-compliant. Hence, the W3C offers XHTML, a reformulation of HTML to be compliant under XML. XHTML attempts to support every last nit and feature of HTML 4.01 using the more rigid rules of XML. It generally succeeds but has enough differences to make life difficult for the standards-conscious HTML author.

Confused? Don't be. Learning HTML is still the way to go for most authors and Web developers. The native language endures. Besides, by learning HTML, you learn the working bits of XHTML, effectively the same thing. There are some differences . . . but the differences should not affect your work in the forseeable future."


So there ya go. SGML is not feasible for development. XML is used to create markup languages, I know enough about it that I could help get you started. XML is really powerful, used all the time in development. Hopefully that clears stuff up for you.

Top
#19426 - 05/07/03 05:16 AM Re: SGML
Joined: Dec 2002
Posts: 3,255
§intå× Offline
§intå× Offline



Joined: Dec 2002
Posts: 3,255
Maryland
Well done! That clears it up a bit. Thanks.


My New site OpenEyes
Top

Member Spotlight
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,194
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics45,741
Posts80,909
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 38,905
Gremelin 7,194
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, boa
2157 Registered Users
Who's Online Now
0 registered members (), 2 guests and 3 spiders.
Latest News