Click to See Complete Forum and Search --> : good place to start w/ XML


marcusami
05-07-2008, 09:25 AM
Does anyone know any really good online tutorials
on XML and using it functionally, because Ive read some on XML
but mainly about child inheritance and such.

Id like to see some examples on how
to call up the information and such.

Thanks alot!
Marcus

rpgfan3233
05-07-2008, 10:34 AM
Well, XML really is just another way to store data. What you do with it depends on your purpose. For example, you could have a C++ program that uses XML to keep track of business statistics, most likely because a CSV (comma-separated values) format or some other format is unreadable by humans. This is the main purpose of XML as pure data. If you actually wanted to put it into use in a Web page, you might look into XSLT (along with XPath since they go together), and if you need a defined grammar for XML documents to conform to, consider checking out XML Schema along with DTD.

Tutorials:
XML (http://www.w3schools.com/XML/) XSLT (http://www.w3schools.com/XSL/) XPath (http://www.w3schools.com/XPath/) XML Schema (http://www.w3schools.com/Schema/) DTD (http://www.w3schools.com/DTD/)

Edit: Of course, you can find more tutorials elsewhere once you start to feel comfortable.

marcusami
05-07-2008, 03:04 PM
so correct me if i am wrong about XML

its really almost a database, except youre kind of writing out the guide lines of how to store it.

you just make up directories such as


<moving>
<fast>
<fastest>
Cheetah
<fastest>
</fast>
<slow>
<slowest>
turtle
</slowest>
</slow>
</moving>

and you can now call up on data, based on what youve created?
psudo code:
look up from moving->fast->fastest : cheetah

is that along the idea of the use of xml?
and that its compatible with everything ?

regards
Marcus

rpgfan3233
05-07-2008, 04:52 PM
Yes, you have the correct idea about XML. By itself, it is essentially nothing more than a database made up of text. :)

It is still up to you to decide how to use it, however. You still need an XML parser, for example. In addition, if you want to do something with it beyond simply reading and writing data, you need either a library or a programming language that can transform XML documents via XSLT documents.

A number of languages support XSL transformations, such as the .NET platform. You can find libraries for C, C++ and others online anywhere. My recommendation is the combination of libxml2 and libxslt. In fact, PHP uses them for its XML and XSLT handling.

jmohan
05-14-2008, 06:12 AM
Yes, you have the correct idea about XML. By itself, it is essentially nothing more than a database made up of text. :)

It is still up to you to decide how to use it, however. You still need an XML parser, for example. In addition, if you want to do something with it beyond simply reading and writing data, you need either a library or a programming language that can transform XML documents via XSLT documents.

A number of languages support XSL transformations, such as the .NET platform. You can find libraries for C, C++ and others online anywhere. My recommendation is the combination of libxml2 and libxslt. In fact, PHP uses them for its XML and XSLT handling.

How can I insert, delete, update data from mysql database using xml in the Dot net.

Expecting your detailed reply,

Thanks in Advance,
J. Mohan:D