(Jimmy Zhang) The latest Java version of the Virtual Token Descriptor for XML (VTD-XML) can function as a slicer, an editor, and an incremental modifier to intelligently manipulate XML document content. This article will show you how to use it, introduce you to the concept of “document-centric” XML
Tag: JSON / JAVA / XML
Use Project Zero’s data access APIs to build a simple wiki
(Brandon J.W. Smith and Hanumanth R. Kanthi) Project Zero is a simplified development platform focused on the agile development of Web 2.0 applications following a Service-Oriented Architecture (SOA). Among Project Zero’s arsenal of libraries is a simplified API for executing SQL queries. Learn how
Using PHP 4s DOM XML Functions to Create XML Files from SQL Data
(Tony Marston) This tutorial is intended for developers who wish to extract data from a database and insert it into XML files so that it can be processed in some way, usually by transforming it into HTML using an XSL file.
Can RSS & XML Help Us Build the Data Web?
(Ric Hardacre) The Web is full of data: statistics, surveys, and reports can be found on almost any topic you care to search for. It’s this very fact that makes the Web the first stop in anyone’s research. Want to know the average number of petals on a daisy? Thirty-four. The number of species of wh
Support for RESTful Web Services: Part 1
(William Brogden) The term REST, standing for Representational State Transfer, was coined by Roy Fielding in his 2000 PhD dissertation, surely one of the most influential academic studies of recent years. Fielding’s dissertation title “Architectural Styles and the Design of Network-based Software Ar
Convert Atom documents to JSON
(James Snell) Converting an Atom document to JSON might, at first, appear to be a fairly straightforward task. Atom is, after all, just a bit of XML and XML-to-JSON conversion tools are widely available. However, the Atom format is more than just a set of XML elements and attributes. A number of sub
DIY tips: Building query string with XSLT
(Martynas Jusevièius) If you’re using XSLT to build web pages, you should have come across situations where you need to build a query string from parameter or node values to make a (X)HTML anchor link. Sounds trivial enough, but more logic gets involved if one or more parameters are optional — you h
XML Documents from Comments
(Paul Kimmel) I like writing. I like writing books, articles, and I especially like writing code. Comments. Not so much. I tell people: my code is self-documenting. The truth is that avoiding prefixes, abbreviations, and using whole words and short function helps make code comprehensible. That said,
The Design Goals of XML
(Rick Jelliffe) One of the really neat things about the XML specification is not just that it makes its design goals explicit (I gave a twist to this idea in the Schematron standard by mentioning various non-goals too) but that the goals were really well chosen.
Taking Data Validation to a Dynamic Level
(Kurt Cagle) Although XML Schema was intended to be used to provide a better validation and definition layer for XML than Document Type Definitions (DTDs), certain underlying concepts were translated unintentionally. One concept was the notion that attributes could be set to enumerations (lists), bu
