PDA

Click to See Complete Forum and Search --> : what's XML?



bobajobrob
04-20-2001, 06:05 PM
I noticed all the XML syntax in flash 5 actionscript. Would somebody kindly give me a very basic idea of what it's all about? Is it a server-side thing like CGI?

bobajobrob
04-20-2001, 06:07 PM
PS I know it stands for extensible mark-up language, can I have a brownie point please?

bobajobrob
04-20-2001, 06:13 PM
I just looked at some threads near the bottom of this forum and i noticed that the same question has already been asked and answered. Pardon my haste in posting ma'am.

cheif
04-26-2001, 08:12 AM
read this article
http://www.xmlboutique.com/news_XMLArticles_1.htm

gdamac
04-27-2001, 03:52 AM
xml is a markup langauge for data, that is it can be used to tag (describe) your data in a meaningfull way, if you had a online shopping cart, you can mark the data up like this...

<?xml version="1.0"?>
<shooping-cart>
<item>
<description id="some id">
some text that describes this item
</description>
<quantity>10</quantity>
</item>
</shopping-cart>

xml looks alot like html, but where in html the rules are only partialy enforced xml must follow the basic rules, in summary they are
1) all tags must have a closing tag
if a tag is "empty" like the <img> tag in html, it
must look like <img/>
2) all attributes must be either 'single' quoted
or "double" quoted

in xml, you make up the tags, which brings up the question "how do I use it?", well for lots of things, but where html has applications (web browsers) you have to create an application, or create one, in my opion java is the best langauge for this, it has been said "xml is for cross platform data, java is cross platform data"

that should get you started...

wow! I'm a geek!

gdamac
04-27-2001, 03:56 AM
woops! my examples got parsed, here they are
the xml code...
<xmp>
<?xml version="1.0"?>
<shooping-cart>
<item>
<description id="some id">
some text that describes this item
</description>
<quantity>10</quantity>
</item>
</shopping-cart>
</xmp>
and the 2 broken images...
<xmp>
1) all tags must have a closing tag
if a tag is "empty" like the <img> tag in html, it
must look like <img/>
</xmp>