posted 24 years ago
I still think you might be missing the point a little. XML is just data. How you generate that data or where you get it from is a different issue, as is what you do with it once you've got it. XML is a structured, regular, extensible, human-readable way of dividing up data into little, understandable bits; but it's still just data.
To use XML for anything other than just storing and retrieving this data, you need tools to process, extract or modify the little data elements within an XML document. These are parsers, XSLT processors and so on.
For your use you might either use a database which supports XML-formatted query results, or write some code (say in php or Java) which transforms a normal result set into XML. Once you have got this XML you can then process it using different stylesheets to generate different resulting formats for different uses.