.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > United Bot
United Bot The ultimate beast is being given birth right here! Half-Life 2

Reply
 
Thread Tools
What XML is (and what it isn't)...
Old
  (#1)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default What XML is (and what it isn't)... - 03-06-2004

XML is "Extensible Markup Language".

XML is a Data Definition language. That is, it defines how data is represented. XML is kind of like HTML on steroids. Anyone who knows what HTML is (and what it can do), can generally understand what XML is and what it can do. The really nice thing about XML is that you can create your own 'tag' types (whereas in HTML, you are limited to the 'tag' types that are defined as part of the HTML language, and you can't extend HTML to create your own tags).

XML (like HTML) is NOT code. XML doesn't execute anything. You can't compile XML into an executable application. XML is only meant to store data that can then be processed by an XML interpreter (just like you need a Web browser application, like Internet Explorer or Netscape Navigator, to view a HTML rendered web page).

Based on the comments in many of the threads here, many people seem to believe that XML is some sort of "machine independant" code execution thingy, and this simply isn't true.

You can't execute XML code. If you want to store data in an XML format, you still need to create application code that does something with this data.

There ARE plenty of freely available XML parsers that will parse the XML data and allow you to retrieve the data stored in the XML file, but once the data has been retrieved, you still have to create some application code that does something with that data (just like you could retrieve tag data from an HTML file, but the string http://www.microsoft.com doesn't do anything magical just by itself). You have to create application code that DOES SOMETHING with that data.

XML is merely a nice way to organize configuration type data so that it can be retrieved by application code later on.

One not too nice thing about XML is that it is difficult to read/edit with just a text editor for the average novice computer user. It would be similar to creating all your HTML code using Notepad.exe. It CAN be done, but nobody in their right mind would REQUIRE users to create web pages using Notepad.exe

botman
  
Reply With Quote
Re: What XML is (and what it isn't)...
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: What XML is (and what it isn't)... - 03-06-2004

Thanks a lot botman, this post was needed.

<nag target="@$3.1415rin,killaruna">Markup languages seem to be quite fashionable in Germany, though... they must have interpreters built-in inside the brain </nag>



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: What XML is (and what it isn't)...
Old
  (#3)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: What XML is (and what it isn't)... - 03-06-2004

but but but... i did create my webpage in notepad!...

anyhow, yes, i tend to agree with PMB, it seems like german people got a interpeter built in or something. Perhaps there are some good XML editors that can easy the 'pain' of editing an XML file? Perhaps even make a sort of 'tree' of all those layers built in XML?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: What XML is (and what it isn't)...
Old
  (#4)
Killaruna
Moderator
 
Status: Offline
Posts: 32
Join Date: Jan 2004
Location: Heidelberg, Germany
Default Re: What XML is (and what it isn't)... - 03-06-2004

Quote:
Originally Posted by stefanhendriks
but but but... i did create my webpage in notepad!...
Phew, and I thought I was the only one!
  
Reply With Quote
Re: What XML is (and what it isn't)...
Old
  (#5)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: What XML is (and what it isn't)... - 04-06-2004

don't worry guys, I'm here too



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: What XML is (and what it isn't)...
Old
  (#6)
CyKo74
Member
 
CyKo74's Avatar
 
Status: Offline
Posts: 20
Join Date: Jul 2004
Location: CHICKaginsk
Default Re: What XML is (and what it isn't)... - 12-07-2004

Heh, when i was at university, we had i-net technology course (or something like that). The main target was to create a page about some tech process. Advised method was: notepad for editing; NetScape Navigator for viewing.
So no, u're not alone dudes!
Btw can give link to that stuff, if anyone wants to look at what we manage to do with THAT method...


...yet another internal vodka combustion evil machine...

Last edited by CyKo74; 12-07-2004 at 00:47..
  
Reply With Quote
Re: What XML is (and what it isn't)...
Old
  (#7)
BAStumm
Member
 
BAStumm's Avatar
 
Status: Offline
Posts: 138
Join Date: Jan 2004
Location: Spokane, WA USA
Default Re: What XML is (and what it isn't)... - 13-07-2004

the documentation pages for phpUA use an XML backend and have a link (at bottom of each page) to view the raw XML in case you want an example.

http://phpua.com/doc/ <- scroll to bottom for xml source linkage.

Were also porting all our config stuff to use an xml "database" of sorts for flatfile db.

oh and I write all my webscriping, C++, etc in Nano (similar to notepad)







Last edited by BAStumm; 13-07-2004 at 05:53..
  
Reply With Quote
Re: What XML is (and what it isn't)...
Old
  (#8)
Nova
Council Member
 
Nova's Avatar
 
Status: Offline
Posts: 761
Join Date: Nov 2003
Location: Kiel, Germany
Default Re: What XML is (and what it isn't)... - 13-07-2004

Quote:
Originally Posted by BAStumm
the documentation pages for phpUA use an XML backend and have a link (at bottom of each page) to view the raw XML in case you want an example.

http://phpua.com/doc/ <- scroll to bottom for xml source linkage.

Were also porting all our config stuff to use an xml "database" of sorts for flatfile db.

oh and I write all my webscriping, C++, etc in Nano (similar to notepad)
/me mumbles something about lazyness and pulls out Dreamweaver MX 2004


nova

- Quote: <kodex> I swear. Beta testing increases your e-wang ! :p

- Remember, today is the tomorrow you worried about yesterday.


  
Reply With Quote
Re: What XML is (and what it isn't)...
Old
  (#9)
FrostyCoolSlug
Member
 
FrostyCoolSlug's Avatar
 
Status: Offline
Posts: 318
Join Date: Mar 2004
Default Re: What XML is (and what it isn't)... - 16-07-2004

Personally, i'm not a giant fan of XML, I'm not entirely sure of my reasons thou, i can interpret it (I'm british btw ), write it, edit it.. but something about it doesnt feel right


=====
Craig "FrostyCoolSlug" McLure
Network Administrator of the ChatSpike IRC Network
  
Reply With Quote
Re: What XML is (and what it isn't)...
Old
  (#10)
FrostyCoolSlug
Member
 
FrostyCoolSlug's Avatar
 
Status: Offline
Posts: 318
Join Date: Mar 2004
Default Re: What XML is (and what it isn't)... - 16-07-2004

Quote:
Originally Posted by BAStumm
oh and I write all my webscriping, C++, etc in Nano (similar to notepad)
As a note.. nano sucks.. vi forever!


=====
Craig "FrostyCoolSlug" McLure
Network Administrator of the ChatSpike IRC Network
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com