RE: XML for dynamic content?
> -----Original Message----- > From: Nigel Byrnes [SMTP:byrnes@p...] > > Hi all > > We all know the benefits of representing "static" documents in XML. But > considering where [HTML, VRML, etc] content is to be generated on the > fly, as is frequently done by CGI scripts, is XML suitable for encoding > the output data in these types of applications? > > Considering a simple hangman game, the application could either: > > 1. receive user-input and generate XML as output, which then has to be > formated > 2. receive user-input and generate format markup language-content as > output > 3. another possibility? > Why not 1 and 2? That's what our web application here is doing. We use XML because there has to be different levels of processing done on the information stored in the XML. It's highly structured data, so we could have chosen an object database, but i hate making purchase requests, and so XML seemed like a good option. That and we needed to access the data from different platforms and languages (Linux, NT, Perl, VBScript, Java). I developed a solution that allows us to easily edit the XML in a HTML form, and it automatically generates structured XML on the back end - this XML is totally based on the form - there's no processing going on to create structure when processing a form. Currently these solutions are all in Perl, but they are implemented on top of the raw expat API so they should convert easily to other languages. Matt. 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