|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] OK, I've read some books, tons of articles, and...
I am still having a bit of trouble understanding the potential applications of XML. Perhaps a reader would be good enough to confirm whether my thoughts, expressed below, are valid. By creating an XML file and a DTD, you have a defined, portable set of business rules - portable, because if I send you my XML file which contains a reference to a DTD I have created and which is located on the Internet, you are presumably unable to alter the contents if I impose a validity check. The structure of XML allows parties interested in my data to do searches with filters specific to the structure of the data. For example, knowing that a "Grommet" element exists with a "Magical" attribute, interested parties could search for Grommets with a Magical attribute of "Yes". A common storage area for DTDs would possibly allow those unfamiliar with my data structure to view it. As the data is using an "Open" definition, it is available to a wider audience. Perhaps it can be processed in more than one manner in one session. My idea here is: perhaps I am viewing information a product and decide to order it. My act of placing an order performs some processing on the vendor's behalf, and potentially on mine as well. A question I have is, how does my behaviour travel with the data (as structure does not define behaviour)? I have seen how Java parsers can traverse document elements, and given elements I can now associate actions with them using Java, but how does that help you, my interested party unless you can use my code with the data? Also, is an XML file going to act as a database in some circumstances? Although I have seen examples of this, I wonder how the heck that is supposed to work with the portability idea as multiple database instances would be difficult to reconcile. The paradox as I see it is that XML provides an open definition of structuring data, but there is difficulty then in providing a generic (low cost) method of using the data. My data will be (and, hopefully act) different from yours and everybody else's, therefore no generic agent is going to know what to do with it. Thanks in advance. Mike Oliphant xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








