(Ayyappan Gandhirajan) Exception handling is an important aspect in any software application development. An exception is an event that occurs during the execution of a program that disrupts the normal flow of instructions. When the exception occurs in a Web Service, it will be propagated to the cli
Tag: JSON / JAVA / XML
Use XSLT to prepare XML for import into OpenOffice Calc
(Uche Ogbuji) The popular open source office suite OpenOffice.org is XML-savvy at its core. It uses XML in its file formats and offers several XML-processing plug-ins, so you might expect it to have nice tools built in for importing XML data. Unfortunately, things are not so simple, and a bit of
Java theory and practice: Screen-scraping with XQuery
(Brian Goetz) XQuery is a W3C standard for extracting information from XML documents, currently spanning 14 working drafts. While the majority of interest in XQuery is centered around querying large bases of semi-structured document data, XQuery can be surprisingly effective for some much more munda
XML Cutting Down Unstructured Data
(John K. Waters) We tend to think of data as either structured (the roughly 20 percent that fits neatly into the cells of a relational database) or unstructured (the audio, video, e-mail, and Word files that are usually referred to as content, and which constitute the remaining 80 percent). But than
What Are Microformats?
(Micah Dubinko) The phrase “XML world” paints an apt word picture, for on top of a bedrock specification lives a thriving ecosystem, inhabited by complex layers of specifications, products, and personalities, both individually and in consortia. Like any ecosystem, XML world is subject to Darwinian n
Developers Flock to XML Query Spec
(Darryl K. Taft) A new survey of developers using XML has found that a vast majority are using or plan to use XML Query even before it becomes a standard because of the language’s ability to simplify data extraction.
XQuery nearly ready for prime time
(Ed Tittel) Those already familiar with XML applications know that at present XSLT (the Extensible Stylesheet Language Transformations) is the only fully standard game in town for taking XML documents as input and turning them into other forms for output, either for delivery on the Web (HTML and XHT
Stylus Studio 6 from Progress Software
(Brian Barbash) XML Development – the term can mean many different things given the technologies currently available. At the center of it all is XML Schemas, DTDs and instance documents. Building out from the base there’s XSL, Web Services and XQuery just to name a few. Because of this, it’s not unc
Loading and Saving an XML Document with DOM 3.0
(Deepak Vohra) The W3C’s Document Object Model (DOM) Level 1 and DOM Level 2 (The org.w3c.dom API is DOM Level 2 API) specifications do not have a standard method for loading and saving an XML document. Instead, most developers use vendor specific code for input to and output from DOM parsers, which
Getting Started with XQuery, Part 2
(Bob DuCharme) In part one of this article, we saw how the free version of the Saxon program lets you jump right in with XQuery, the increasingly popular (although not quite finished) W3C standard for querying XML data sources. We learned how to pass Saxon XQuery queries to execute on the command li
