magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1999 > 11 > Beyond HTML

Serving XML with Active Server Pages

As it turns out, there are a lot of ways to serve XML. If you're a Perl programmer, you can use the XML::Parser module in Perl to load XML documents into the DOM. The XML::Parser module is definitively top-shelf software. The module was developed by Larry Wall, Perl's inventor, and later modified by Clark Cooper. The module provides an interface to James Clark's Expat parser, which coincidentally will be the parser of choice in the long-awaited Navigator 5. (I also have it on good authority that Infoseek uses the Expat parser in its add-on to Ultraseek Server.)

As I've previously described, you can also serve up XML using Java servlets. One thing I haven't mentioned is the Cocoon project, which is an effort by developers from the Apache Group to add XML capability to the Apache Web server. Cocoon itself is a Java servlet that specifically supports XML and XSL. Cocoon by default uses the OpenXML parser and XSL:P to process style sheets. However, Cocoon is also designed to work with IBM's XML for Java (XML4J) and LotusXSL processors, and the processors that are included with Sun's ProjectX.

Did I say ProjectX? Right, that's Sun's effort to enable Java applications with the power of XML. Java ProjectX includes both validating and nonvalidating parsers that conform to the XML 1.0 Recommendation. The distribution also supports the Document Object Model (DOM) Level 1 specification, and Simple API for XML (SAX) 1.0




  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2