Download The User Guide

Transcript
Chapter 4. Transforming Documents
XML is designed to store, carry, and exchange data, not to display data. When we want to view the data
we must either have an XML compliant user agent or transform it to a format that can be read by other
user agents. This process is known as transformation.
Within the current version of <oXygen/> you can transform your XML documents to the following
formats without having to exit from the application. For transformation to formats not listed simply install the tool chain required to perform the transformation and process the xml files created with
<oXygen/> in accordance with the processor instructions.
PDF
Adobe Portable Document Format (PDF) is a compact binary file format that can be
viewed and printed by anyone, anywhere across a broad range of hardware and software
using
the
free
PDF
Viewer
from
Adobe
[http://www.adobe.com/products/acrobat/readstep.html].
PS
PostScript
is
the
leading
printing
technology
from
Adobe
[http://www.adobe.com:80/products/postscript/main.html] for high-quality, bestin-class printing solutions ranging from desktop devices to the most advanced digital presses, platemakers, and large format image setters in the world. Postscript files
can be viewed using viewers such as GhostScript, but are more commonly created
as a prepress format.
TXT
Text files are Plain ASCII Text and can be opened in any text editor or word processor.
XML
XML stands for EXtensible Markup Language and is a W3C
[http://www.w3c.org/XML/] standard markup language, much like HTML, which
was designed to describe data. XML tags are not predefined in XML. You must
define your own tags. XML uses a Document Type Definition (DTD), an XML
Schema or a Relax NG schema to describe the data. XML with a DTD, XML
Schema or Relax NG schema is designed to be self-descriptive. XML is not a replacement for HTML. XML and HTML were designed with different goals:
XHTML
•
XML was designed to describe data and to focus on what data is.
•
HTML was designed to display data and to focus on how data looks.
•
HTML is about displaying information, XML is about describing information.
XHTML stands for EXtensible HyperText Markup Language, a W3C
[http://www.w3c.org/MarkUp/] standard. XHTML is aimed to replace HTML.
While almost identical to HTML 4.01, XHTML is a stricter and cleaner version of
HTML. XHTML is HTML defined as an XML application.
All formatting during a transformation is provided under the control of an Extensible Stylesheet
(XSLT). Specifying the appropriate XSLT enables transformation to the above formats and preparation
of output files for specific user agent viewing applications, including:
HTML
HTML stands for Hyper Text Markup Language and is a W3C Standard
[http://www.w3c.org/MarkUp/] for the World Wide Web. HTML is a text file containing small markup tags. The markup tags tell the Web browser how to display the page.
An HTML file must have an htm or html file extension. An HTML file can be created
using a simple text editor.
36