Anyone use XML?
Moderator: General Moderators
-
JPlush76
- Forum Regular
- Posts: 819
- Joined: Thu Aug 01, 2002 5:42 pm
- Location: Los Angeles, CA
- Contact:
Anyone use XML?
Just wondering who uses XML in their applications and what do you use it for?
If you dont, do you know any practical uses for it? Its one of those things I'd like to add to my toolbox.
If you dont, do you know any practical uses for it? Its one of those things I'd like to add to my toolbox.
-
pootergeist
- Forum Contributor
- Posts: 273
- Joined: Thu Feb 27, 2003 7:22 am
- Location: UK
DeGauss wrote:Yeah... But i'm waiting for XML to become more useful.
XML is still experimental, so whilst it works, it doesn't work in the way that i would want to use it regularly.
Right now I am using XML in many ways.
1. My RDF/RSS Feed is generated by an XML output of my news.
2. That same XML output also feeds my site's news posting. Both of these transformations use XSL. I output the stuff in one format, and I can convert it to whatever format I want. I am now working on a format for Panels in Mozilla.
3. My content is slowly being converted to DocBook format. This will open up new doors, as a lot of software exist for converting DocBook XML files to another format. Maybe one day I will have content available in other formats, such as PDF.
4.Trackback uses XML. I am now able to communicate to other people using the Trackback standard for web blogs.
5. Working on an interface for a Server/Client forum engine using XML based web services...
shall I continue?
XML is useful in many way, although if you don't have DOM/XML and XSLT/Sablotron support in your PHP installation it isn't that much fun to play with 
UPS and USPS use XML for their web API's, I'm using this in some applications (PS: Strict licensing rules from UPS and USPS), as mentioned, Surepay uses it for their payment gateway, and so does Verisign I believe, Verizon has an XML api.. and many many more ...
XML is not experimental, it's been in existence for more than 5 years and the past two it has been taking off, being used a lot more, there are quite a few XML standards/schemas for various business/industries, web-services seem to be the fastest growing these days..
UPS and USPS use XML for their web API's, I'm using this in some applications (PS: Strict licensing rules from UPS and USPS), as mentioned, Surepay uses it for their payment gateway, and so does Verisign I believe, Verizon has an XML api.. and many many more ...
XML is not experimental, it's been in existence for more than 5 years and the past two it has been taking off, being used a lot more, there are quite a few XML standards/schemas for various business/industries, web-services seem to be the fastest growing these days..
I don't know much about sites, would search for tutorials etc..
XML in itself is really nothing other than a subset of SGML, just as HTML is, although XML is much stricter.. XML is hypertexted data, nothing else, nothing more... There is no such thing as "Programming XML", as XML is just data.
That is a fully valid well formed XML document. In this pasrticular one I made it with two "records" with similar content, sort of like a XML data export, there is nothing that says it must be like that, it could be any number of elemenets and subelements in any given orders, there is no predefined data structures in XML itself, other than a few rules, such as there can only be one root element, which I callled myrootelement.
When I say XML is nothing more than that it is XML in itself which isn't, however, there are many things you may use to make XML be more useful, such as Schemas and DTDs to validate the data and data structures.
The XML standard enables us to validate any XML document with any standards compliant XML validator, and to parse (do something with) the data with any parser.
There are many standards and "protocols" based on XML, pretty much for any industry or subject that has data or interraction with compiuters. The standards has nothing to do with XML in itself.
XML in itself is really nothing other than a subset of SGML, just as HTML is, although XML is much stricter.. XML is hypertexted data, nothing else, nothing more... There is no such thing as "Programming XML", as XML is just data.
Code: Select all
<?xml version="1.0" ?>
<myrootelement>
<myrecord>
<myfield>Hello</myfield>
<myotherfield>World</myotherfield>
</myrecord>
<myrecord>
<myfield>Beer</myfield>
<myotherfield>Samuel Adams</myotherfield>
</myrecord>
</myrootelement>When I say XML is nothing more than that it is XML in itself which isn't, however, there are many things you may use to make XML be more useful, such as Schemas and DTDs to validate the data and data structures.
The XML standard enables us to validate any XML document with any standards compliant XML validator, and to parse (do something with) the data with any parser.
There are many standards and "protocols" based on XML, pretty much for any industry or subject that has data or interraction with compiuters. The standards has nothing to do with XML in itself.
I dont know for how long this been around but Winamp 3 and Winamp 5 mordern skins use XML format. Winamp 3 was released in 2002 (I Think).
http://winamp.com/nsdn/winamp/skinning/modern/
http://winamp.com/nsdn/winamp/skinning/modern/