The 80 page XSL-FO tutorial 2nd Edition developed by Antenna House for customers of AH Formatter is made public adding the contents of indexes, functions for PDF creation, reference to appendix and much more substantial contents. This is not only useful for better understanding of XSL and XSLT but also this may be used as a practical sample of XML and XSLT stylesheet.
Antenna House has a comprehensive collection of FO samples. The samples provide examples of functions available in the XSL-FO Standard Specification and extensions only available through Antenna House.
AH Formatter can format world languages that are written using Unicode. Besides western languages, major Asian languages such as Japanese, Simplified Chinese, Traditional Chinese, Korean and Thai are supported. Languages which are written from right to left, such as Arabic, Hebrew, are also supported.
Unicode BIDI algorithm and bidi-override function of XSL (XSL-FO) specification is supported, document that consists of mixed writing mode phrases in a paragraph can be formatted right.
AH Formatter is your global multilingual formatting solution
DITA (Darwin Information Typing Architecture) is an XML-based architecture for authoring, producing, and delivering technical information. The architecture and a related DTD was developed by IBM. DITA is organized around the principle of the topic as the highest level structure and is intended to support the reusability of content. It has been developed especially for managing a large set of documentation to be distributed in multiple channels.
DITA has grown well and its specification was defined by the OASIS DITA Technical Committee since 2004. DITA version 1.0 was approved as an OASIS Standard on May 3rd, 2005, version 1.1 has been published on August 2007, the OASIS open standards consortium announced that its members have approved DITA version 1.2 as an OASIS Standard on December 2010.
Visit OASIS Darwin Information Typing Architecture (DITA) TC for more information.
The DITA Open Toolkit is an implementation of the OASIS DITA Technical Committee's specification for Darwin Information Typing Architecture (DITA) DTDs and Schemas. DITA-OT (DITA Open Toolkit) transforms DITA content (maps and topics) into deliverable formats such as HTML, DocBook, and PDF.
DITA-OT standard build file supports Antenna House Formater (XSL Formatter.) You can start Antenna House Formatter using the following commandline and obtain the result PDF using the Idiom stylesheet attached to the toolkit.
ant -l [log file path] -Dargs.input=[ditamap file path] -Dpdf.formatter=ah -Dtranstype=pdf
Antenna House now provides a new plug-in for PDF output used by DITA Open Toolkit.
This plug-in is called pdf5-ml developed for our index module, I18N Index Library. The pdf5-ml plug-in implements the stylesheet which supports many of DITA 1.3 properties and attributes.
The Internationalization (I18N)
Support Java library is the LGPL open-source license developed by Innodata Isogen, Inc. Antenna House made some modifications to the original library and opened this library under the LGPL license according to the LGPL rule.
☞ Download I18N Support Library (about 5,580 KB).
The Innodata Isogen Internationalization (I18N) Support Library is a collection of Java classes that provide fundamental services to document processors for localizing and internationalizing the rendered form of XML documents.
The services provided include:
The core functions (I18nService) are processor independent and can be bound to any specific processor through a relatively thin binding layer, as demonstrated by the provided Saxoni18nService class. For example, the I18nService can be bound to Epic Editor through it's Java API, other Java-based XSLT processors, or Java-based user interfaces, or DOM-based XML processors.
One method to generate PDF dynamic from your web page is to generate XHTML page, then transforms the XHTML to XSL-FO by using XHTML to XSL-FO stylesheet, and XSL-FO to PDF by using XSL-FO formatting software.
Followings are the list of stylesheets for XHTML document to XSL-FO transformation includes in the download file.
Various styles can be customized by changing the following parameters and the settings using the attribute-set.
<!-- page size -->
Example of specifying the size and the margin of the page. When page-width and page-height is aut-setting, it follows the setting of AH Formatter.
<!-- page header and footer -->
Example of specifying the margin of page header, the margin of page footer, whether to place the contents of XHTML title to the page header, and whether to place page numbers to page footer.
The value of true/false is set as strings, not as Boolean type supposing that you may specify it from UI.
<!-- multi column -->
Example of setting columns. Specify the column number and the space between columns.
<!-- writing-mode: lr-tb | rl-tb | tb-rl -->
Example of setting writing-mode. When the writing mode ‘vertical (tb-rl)' is specified, the text in the body is written in vertical mode, the text in the page header is written in horizontal mode and placed at the top of the page (region-start), the text in the page footer is written in horizontal mode and placed at the bottom of the page (region-end).
<!-- text-align: justify | start -->
Example of specifying the default text-align setting. When ‘justify' is specified, the end of the line is justified.
<!-- hyphenate: true | false -->
Example of specifying whether to hyphenate or not.
XHTML, written in XML, is a reformulated version of HTML. For details please refer to W3C HTML Home Page.
If you wish to convert HTML to XHTML, HTML Tidy is a very strong and useful tool for the purpose.
XBRL (eXtensible Business Reporting Language) is a specification for describing XML-based business documents and it aims to exchange the data of financial statements and accounts.
APRA (Australian Prudential Regulation Authority) integrated XBRL into their management business. Also, JFMIP (The Joint Financial Management Improvement Program) recommends for all the Federal Government Agencies of the US to use XBRL.
We provide a stylesheet that transforms XBRL for a statement of account to FO here.
A balance sheet and a statement of profits and losses are created by downloading the above 2 files and formatting with AH Formatter.