Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XML problem! can't understand why XML can create new languag
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
yucao89
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2003
Posts: 124
Location: madrid

PostPosted: Fri Jun 27, 2003 8:51 pm    Post subject: XML problem! can't understand why XML can create new languag Reply with quote

I can't really understand why XML is used to create new languages, IF my knowledge don't fail XML does nothing at it own, and how can you create new languages such as WML
Back to top
View user's profile Send private message
aja
l33t
l33t


Joined: 26 Aug 2002
Posts: 705
Location: Edmonton, Canada

PostPosted: Fri Jun 27, 2003 9:05 pm    Post subject: Reply with quote

XML is an extensible (hence the X) markup specification. It permits extensions, provided that they conform to the XML spec. That means you can create a set of tags and rules for a specific purpose: like XHTML.
Back to top
View user's profile Send private message
yucao89
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2003
Posts: 124
Location: madrid

PostPosted: Fri Jun 27, 2003 10:20 pm    Post subject: ... Reply with quote

So you are saying that w3c wrote HTML again but following the strict rules of XML, and creates the new XHTML write?
XML simply just a set of rule
are my word correct? if not correct me thanks
Back to top
View user's profile Send private message
yucao89
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2003
Posts: 124
Location: madrid

PostPosted: Fri Jun 27, 2003 10:20 pm    Post subject: ... Reply with quote

I was learning HTML with XHTML in a book called HTML 4 the WWW
and i am confused

XML is just a set of rules it is nothing right?
Back to top
View user's profile Send private message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 402

PostPosted: Fri Jun 27, 2003 10:28 pm    Post subject: Re: ... Reply with quote

yucao89 wrote:
XML is just a set of rules it is nothing right?

HTML is also a set of rules, but it is hardly nothing. It all depends on how you apply the rules.
Back to top
View user's profile Send private message
aja
l33t
l33t


Joined: 26 Aug 2002
Posts: 705
Location: Edmonton, Canada

PostPosted: Fri Jun 27, 2003 10:41 pm    Post subject: Reply with quote

You can think of XML as a set of rules for creating sets of rules. Its a meta-standard.
Back to top
View user's profile Send private message
yucao89
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2003
Posts: 124
Location: madrid

PostPosted: Sat Jun 28, 2003 7:00 am    Post subject: Reply with quote

so what i said is true right? :arrow:
Back to top
View user's profile Send private message
Evil Dark Archon
Guru
Guru


Joined: 21 Dec 2002
Posts: 562
Location: Santa Rosa, CA

PostPosted: Sat Jun 28, 2003 10:42 pm    Post subject: Reply with quote

correct, to put it in one word
Back to top
View user's profile Send private message
MerlinTheWizard
Apprentice
Apprentice


Joined: 06 Apr 2003
Posts: 270

PostPosted: Sun Jun 29, 2003 2:20 am    Post subject: Reply with quote

Isn't this a picture of Bill Gates?

Do you realize you could easily be labeled as a "troll" with this kind of "avatar" in a Gentoo forum? :P
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Sun Jun 29, 2003 3:56 am    Post subject: Reply with quote

XML is a set of rules for use in creating documents which can be easily read by an XML parser...

XML is a set of rules for use in creating new document formats.

A DTD is a set of rules. XML should be used in conjunction with DTD so that your XML documents conform to your own rules... That is, if you specified that a <para> can only appear inside a <section> but you forgot to do so, the XML parser will not notice anything wrong, but a XML parser with a DTD specification will.

By the way, HTML means nothing too. It is fortunate that people have decided to render it in one uniform way, rather than argue over whether <p> should cause one blank line before and after or not...
Back to top
View user's profile Send private message
yucao89
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2003
Posts: 124
Location: madrid

PostPosted: Sun Jun 29, 2003 11:46 am    Post subject: Reply with quote

Quote:
Do you realize you could easily be labeled as a "troll" with this kind of "avatar" in a Gentoo forum?


Hi what does troll means!
it is an avatar of mr.Gates. I've putted some scanlines on it!
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Sun Jun 29, 2003 2:51 pm    Post subject: Reply with quote

I see you haven't been fully integrated into hacker society yet, despite the post count.

When in doubt about jargon, consult http://www.catb.org/~esr/jargon/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum