Page 1 of 1
XHTML,HTML or XML?
Posted: Sat Sep 27, 2003 9:50 pm
by Cruzado_Mainfrm
Which one do u prefer? Which one do you think should survive?
Posted: Sun Sep 28, 2003 3:20 pm
by evilMind
XML is easier to use since you can define your own syntax. However, XHTML is the way to go for some applications. You see, with the combined efforts of XSLT, XPointer, XLink, etc... You can do many wonderful things
? is <br /> (fifty times)
easier than
<lineBreak count="50" /> ?
That's why I like XML
Posted: Sun Sep 28, 2003 4:02 pm
by nigma
Evilmind, You can create custom tags like your example using XML?
You have a link to a tutorial I could check out on how to do this? I have found XML tutorials, but they mainly informed you how to store data in an XML doc and use XSL to display the data.
Posted: Sun Sep 28, 2003 4:07 pm
by jason
evilMind wrote:XML is easier to use since you can define your own syntax. However, XHTML is the way to go for some applications. You see, with the combined efforts of XSLT, XPointer, XLink, etc... You can do many wonderful things

XHTML is XML.
XSLT is XML.
XPointer is XML.
Each is an XML application that can be used for different things. XHTML is how you use XML to create web pages.
Posted: Sun Sep 28, 2003 5:13 pm
by qads
great....jason just killed it lol...thanks man

Posted: Sun Sep 28, 2003 7:40 pm
by evilMind
before I correct jason... Nigma, I don't have a link handy I spent time learning XML + from books, not online. Sorry.
Now, on with the show.
XHTML is XML.
XSLT is XML.
XPointer is XML.
Each is an XML application that can be used for different things. XHTML is how you use XML to create web pages.
Correction.
eXtensible Markup Language:
XML is a metalanguage. That is, it's a language which is used to describe other languages. It may seem that xml and (x|X)?html are the same, the difference between these two are vast. One example, that's it. -> HTML is used to format a document but not to describe it.. ahh xml = descriptive (meta) language.
eXtensible StyleSheet Language for Transformation:
XSLT is a language for transforming XML documents. You use XSLT to transform one XML document into another type of document. You may be thinking XML -> XML ... Although it can be, it's more commonly XML->(x|X)?html.
eXtensible? Pointer:
XPointer (along w/XLink) is used to define the relationship between objects. Think of hypertext links here....
Although it **May** seem that these languages are in fact XML. They are not. They only conform to the rules of the metalanguage (XML)
Posted: Sun Sep 28, 2003 9:32 pm
by Cruzado_Mainfrm
yay that was
Evil
I'm looking foward to buy an XML book, any suggestions?
also, any other book, like for XHTML that u may now will be wonderful to know
Posted: Sun Sep 28, 2003 10:03 pm
by nigma
I don't know about a book, but w3schools has a great tutorial on both XMl and XHTML.
XHTML:
http://www.w3schools.com/xhtml/default.asp
XML:
http://www.w3schools.com/xml/default.asp
Posted: Mon Sep 29, 2003 3:29 pm
by jason
evilMind: Nice thoughtful response. Don't worry, not harsh. However, you might want to inform the W3C that XHTML and XSLT are not XML.
"...XHTML 1.0, a reformulation of HTML 4 as an XML 1.0 application..."
"A transformation in the XSLT language is expressed as a well-formed XML document..."
XPointer is not based on XML, but use in certain XML applications. Sorry, I was just on a roll with X[keyword].
Sure, XHTML and XSLT are not vanilla XML, but they are XML applications. This is not to say that XML and XHTML are the same, but that XHTML is XML, but XML is not XHTML.
Posted: Mon Sep 29, 2003 7:12 pm
by Cruzado_Mainfrm
i learnt XML and XHTML in w3schools u know... but i thought i might get more info in a book
Posted: Sat Oct 11, 2003 3:40 am
by Wizard
HTML & JAVA