Anyone use XML?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

JPlush76
Forum Regular
Posts: 819
Joined: Thu Aug 01, 2002 5:42 pm
Location: Los Angeles, CA
Contact:

Anyone use XML?

Post by JPlush76 »

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.
pootergeist
Forum Contributor
Posts: 273
Joined: Thu Feb 27, 2003 7:22 am
Location: UK

Post by pootergeist »

In a vague sort of a way I do as my site currently uses a cron setup to parse rdf/rss newsfeeds which are xml based.

For distributing data among servers it is truly ideal.
DeGauss
Forum Contributor
Posts: 105
Joined: Tue Oct 22, 2002 9:44 am
Location: Gainesville, FL

Post by DeGauss »

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.
User avatar
daven
Forum Contributor
Posts: 332
Joined: Tue Dec 17, 2002 1:29 pm
Location: Gaithersburg, MD
Contact:

Post by daven »

I use it for credit-card verifications. SurePay requires XML document submission.
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

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.
:?: :?: Useful? It already is. Experimental? Hardly.

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?
JPlush76
Forum Regular
Posts: 819
Joined: Thu Aug 01, 2002 5:42 pm
Location: Los Angeles, CA
Contact:

Post by JPlush76 »

yes, continue please :)

lol
moramata
Forum Newbie
Posts: 2
Joined: Wed Mar 05, 2003 10:41 am

Post by moramata »

I use XML in the OO framework that I use. It is called Eocene.
All configuration (like paths, urls, commands, etc.) is in XML.
To find Eocene framework, please search PHP Eocene in Google.
User avatar
Stoker
Forum Regular
Posts: 782
Joined: Thu Jan 23, 2003 9:45 pm
Location: SWNY
Contact:

Post by Stoker »

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..
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

what are some good XML learning sites?
evilcoder
Forum Contributor
Posts: 345
Joined: Tue Dec 17, 2002 5:37 am
Location: Sydney, Australia

Post by evilcoder »

yeh i've been wanting to learn what the hell it is and how to use it as well. Anyone know?
User avatar
Stoker
Forum Regular
Posts: 782
Joined: Thu Jan 23, 2003 9:45 pm
Location: SWNY
Contact:

Post by Stoker »

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.

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>
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.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

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/
User avatar
mudkicker
Forum Contributor
Posts: 479
Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:

Post by mudkicker »

I use for RSS feed.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

uh.. the thread is two years old.
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

I was searching for RSS / XML based stuff and came across this. Did not see the date.
Locked