The Extensible Markup Language (XML) is an open, general-purpose specification for creating markup languages. Its primary purpose is to help information systems share structured data, particularly via the Internet, and it is used both to encode documents and to serialize data. It is used in a wide variety of technical communication document formats, including Microsoft Word, OpenOffice, XHTML, DITA, DocBook, and RSS, among others.
This session provides a realistic tour of the process of implementing and customizing UBL, through the study of our implementation of UBL for the ministries of agriculture and commerce of the Republic of Colombia. Both through general tools (xmlroff as modified by Fabio to support UBL pdf output) and through custom made, open source software, XML-based technologies are effectively bridging the gap of B2B commerce between the United States and the rest of the world. UBL Capture, Presentation, Storage, Transfer software custom made by UBL voting member Fabio Arciniegas is demonstrated and dissected within the context of a real life example of implementation for the colombian government.
Even before there was XML, there was the Document Object Model, or DOM. It allows a developer to refer to, retrieve, and change items within an XML structure, and is essential to working with XML. In this tutorial, you will learn about the structure of a DOM document. You will also learn how to use Java technology to create a Document from an XML file, make changes to it, and retrieve the output.
Chu defines Unified Modeling Language (UML) as a standardized system of diagrams, notations, and semantics for object-oriented design and modeling. He offers a basic introduction to UML, provides a conceptual model, and describes UML's building blocks and common mechanisms. The article includes a brief history of UML.
One of the tenets of modern software design is that early and frequent testing is a key contributor to successful application development. Unit testing frameworks, tools designed to ease the development and execution of unit tests, exist for many programming languages. This paper discusses how unit testing can be applied to the development of stylesheets and describes a testing framework for XSLT 2.0 unit tests.
The "Unleashing the power of XML" presentation provides insight, from 20 years personal experience in the publishing industry, on the value of good markup and the challenges of migrating from SGML to XML based systems. We will review the results of an informal survey of the publishing industry that focuses on how XML is (and is not) being leveraged and the rationale behind these decisions. Finally, we will discuss a 'new' technology that has the potential to revolutionize the publishing industry as well as highlight some real world applications already leveraging this technology.
OpenOffice provides a suite of applications whose native file format consists of a set of XML files, compressed into a ZIP archive. This article explores the basics of the OpenOffice file format.
It’s time we came to grips with the fact that not every “document” can be a “web page.” Some forms of writing just cannot be expressed in HTML—or they need to be bent and distorted to do so. But for once, XML might actually help.
Atom is really two different things, both related to syndication (blogs, newsfeeds, and other information which gets updated periodically). The Atom Syndication Format is an IETF standard for publishing entries (single topics or items) and feeds (collections of topics or items). The Atom Publication Protocol (sometimes called the Atom API or abbreviated APP) is a means for finding, listing, adding, editing, and removing content from an Atom repository. While Atom the Syndication Format has gone through the IETF process to become a standard, the standards committee is still at work on Atom the Publishing Protocol, although it seems likely that much of it has stabilized at this point.
With XForms technology, you can provide a lightweight editor for an existing collection of XForms. Explore an approach to form authoring for simple, quick changes that improve the effectiveness of data collected. Typical form editing requires a separate application even for the most trivial changes. XForms manipulates XML data and submits it to a server, making it an ideal choice to author these trivial changes and submit them for redeployment.
When you and your team, and even your boss, come to the conclusion that “there’s got to be a better way” to author technical content, your research will most likely point to DITA (Darwin Information Typing Architecture) as the alternative to the word processing, copy-and-paste, formatting, and versioning nightmare you’ve worked in for so long. But before you jump on the bus to the DITA Promised Land, remember that there are viable alternatives to DITA that may actually better suit your needs.
Perhaps the true measure of a good idea is its persistence, even though folks are slow to pick up on it. SGML is a good example. It seemed like a great idea, but for a long time, had trouble getting traction in the general tool space. Then it started showing up at technical communication conferences wearing a name badge that said, “Hi, my name is DITA,” and suddenly, it’s a hit!
Not all characters are available on the keyboard! This hack shows you how to represent such characters in an XML document by using decimal and hexadecimal character references, and how to represent entities by using entity references.
There are many ways to link to non-XML content within XML, including binary content. Sometimes you need to roll all such external content directly into the XML. Data scheme URIs are one way to specify a full resource within a URI, which you can then use in XML constructs. In this tip, Uche Ogbuji shows how to use this to bundle related media into a single file.
DOM and SAX are the two best known systems for XML processing, but they are really compromises across programming languages. As such, they do not take advantage of any language's particular strengths. Often it is better to duck conventional wisdom and use special APIs that take advantage of particular strengths.
Since conventional historical records have been written assuming human readers, they are not well-suited for computers to collect and process automatically. If computers could understand descriptions in historical records and process them automatically, it would be easy to analyze them from different perspectives. In this paper, we review a number of existing frameworks used to describe historical events, and make a comparative assessment of these frameworks interms of usability, based on 'deep cases' of Fillmore ’score grammar. Based on this assessment, we propose a new description framework, and have created a microformat vocabulary set suitable for that framework.
This two-part article series is designed to get PHP developers up to speed in leveraging Web 2.0 XForms forms for their PHP forms development so that they can finally put their outdated Web 1.0 HTML forms away. This will be accomplished by creating a library of functions that generate XForms elements when called upon. In this article, Part 1 of a two-part series, developers will create the XForms library using PHP, allowing each function to take in parameters and output XForm elements.
This two-part article seriess is designed to get PHP developers up to speed in leveraging Web 2.0 XForms forms for their PHP forms development so that they can finally put their outdated Web 1.0 HTML forms away. In Part 1, you created the PHP XForms library. In this article, Part 2, you will enhance the library to include some error checking and convenience functions to help make using the library more manageable, and lastly you'll demo the library by creating a proof of concept XForm.
By adopting XML, we can take advantage of the scores of tools that work on arbitrary XML documents. Common tasks, like editing, validation, transformations, and queries, are then just a matter of selecting and applying the right tool. Also, we can then apply the experience we gain with these tools on other documents we come across in our work.
This article discusses main challenges that documentation team faces when it decides to use DITA as a source format for Eclipse Help documentation. It also explains how DITAworks documentation tool plans to address these challenges.
This tutorial explains and describes the use of several microformats, which make information marked up in HTML available for use in applications outside traditional web browsers. Because microformats consist of minor additions to the HTML backbone of common webpages, they represent a simple but significant move toward what Tim Berners-Lee has called the “Semantic Web”—but without requiring the technical and practical shifts and time demands of a complete XML-based semantic-web-development approach. Microformats also provide technical communicators with literacies and a conceptual foundation to approach more advanced Semantic Web technologies and suggest ways to refine current web design practice.