For Programmers: Free Programming Magazines  


Home > Archive > Cobol > March 2007 > Re: The Lambda lambada...Why embedded SQL is becoming irrelevant and why you should s









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: The Lambda lambada...Why embedded SQL is becoming irrelevant and why you should s
Pete Dashwood

2007-03-19, 3:55 am


"gary drummond" <spam@uce.gov> wrote in message
news:xPudnXvIXPDxm2PY4p2dnA@giganews.com...
> Pete Dashwood wrote:
> I couldn't find this, but I did find Differences between XHTML and HTML...
>
> Gary
>


Yes, I just went back and looked again. They have apparently updated it...
You are correct. However, they do give differences between XHTML and XML in
the text of their tutorial.

Another good site that explains it very well...

"XML and XHTML are quite different. XML (eXtensible Markup Language) grew
out of a desire to be able to use more than just the fixed vocabulary of
HTML on the web. It is a meta-markup language, like SGML, but one that
simplifies many aspects to make it easier to make a generic parser. XHTML
(eXtensible HyperText Markup Language) is a reformulation of HTML in XML
syntax. While very similar in many respects, it has a few key differences.
First, XML always needs close tags, and has a special syntax for tags that
don't need a close tag. In HTML, some tags, such as img are always assumed
to be empty and close themselves. Others, like p may close implicitly based
on other content. And others, like div always need to have a close tag. In
XML (including XHTML), any tag can be made self-closing by putting a slash
before the code angle bracket, for example <img src="funfun.jpg"/>. In HTML
that would just be <img src="funfun.jpg">

Second, XML has draconian error-handling rules. In contrast to the leniency
of HTML parsers, XML parsers are required to fail catastrophically if they
encounter even the simplest syntax error in an XML document. This gives you
better odds of generating valid XML, but it also makes it very easy for a
trivial error to completely break your document."

from... http://webkit.org/blog/?p=68

Pete.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com