DEVELOPER'S ZONE
BOOKMARK & SHARE Bookmark and Share
RSS RenderX RSS
SHOP
LIVE HELP
RenderX logo  
Live Help

Free Personal Edition!

XEP 4
Free software for
non-commercial use:
Free XEP Personal Edition!

More information on the Free Personal Edition is here.

W3C Specification Examples

This section presents an XSL stylesheet designed to transform W3C documents conformant to W3C XML Specification DTD 2.0 into XSL Formatting Objects. Documents available so far include the XML, XPath, XSL and XSL FO (XSLFO) specifications. For all of these, we present a zip of the complete package as well as PDF results from rendering them using XEP Engine.

 

Background

To the best of our knowledge, the style sheet developed covers the majority of elements/constructs found in the DTD, with one important exception: IDL-related markup from DOM Spec is omitted as it is left undocumented in the DTD description.

We have tried to build a style for real documents, rather than for an abstract DTD. Therefore, the style also comprises elements specific to certain documents (e.g. element syntax descriptors in XSLT Specification). Moreover, in cases where real usage of an element in documents contradicted the formatting intent as specified in the XMLSpec DTD docs, we have privileged the real-life usage (see e.g. treatment of <slist> elements, or <titleref> usage in XML Spec).

 

Parameters

The stylesheet has four global parameters:

title-color: Specifies the color to be used for all headers and the left sidebar.

attr-color: Specifies the color to be used for all hyperlinks.

lhs-width and rhs-width: Control the width of the left-hand and right-hand columns in BNF productions, respectively (see the description of scrap element in the XMLSpec DTD docs). These parameters are used to tweak single documents individually.

 

Results

The stylesheet has been tested on several W3C documents. Relative XML sources are publicly available from the W3C web site. No changes were made to the XML sources. The ZIP file includes XML source, XSL transform, resulting PDF and any included images so that you can recreate these on your own if you wish.

RenderX gives no guarantee about the integrity of the transformation and rendering results (or even legibility thereof :o) ). Therefore, all documents except for the original XML sources cannot be considered as exactly reproducing the correspondent W3C normatives. Use at your own risk.

XPath Recommendation

Source: REC-xpath-19991116.xml
PDF: REC-xpath-19991116.pdf
ZIP: xpath.zip

XML Recommendation

Source: REC-xml-20040204.xml
PDF: REC-xml-20040204.pdf
Zip: xml.zip

XSL FO Recommendation

Source: REC-xsl-20011015.xml
PDF: REC-xsl-20011015.pdf
ZIP: xsl.zip

XSLT Recommendation

Source: REC-xslt-19991116.xml
PDF: REC-xslt-19991116.pdf
ZIP: xslt.zip

More examples are available here.


 

News

March 5, 2011
XEP 4.19 released

New extensions for RichMedia in PDF,
sticky notes and file attachments, and
overprinting. Extended XSL1.1 scaling
attributes, and styling for bookmarks.
XForms output, support for SVG in XPS
generator, and other improvements.

More news...


March 1, 2011
RenderX at 2011 AIIM

Visit us in Booth #1820 and #1109 at
the Walter E. Washington Conv. Center,
Washington D.C., March 22 - 24, 2011

More news...


February 22, 2011
VisualXSL 2.4.2 released

Improved support for large designs.
Fully configurable custom template
generation. UI related bugfixes
and table editor improvements.

More news...


December 8, 2010
VisualXSL 2.4 released

Support for external EXSLT library -
Mvp.Xml EXSLT.NET module. UI & logic
related bugfixes. Improved XSLT security.

More news...


October 19, 2010
VDPMill 3.4 released

Major release: a GUI application
for full job control, lots of usability
improvements, and bug fixes.

More news...


September 27, 2010
XEPWin 3.0 released

Release enables better utilization
of computational resources in multi-
core environments. XEPWin 3.0 also
contains improvements in configuration,
error reporting and XEPWin API.

More news...


September 8, 2010
EnMasse 2.3 released

EnMasse is now easier than before!
The Windows version includes
a graphical configuration editor
with built in validation support.
The platform-independent version
was shipped with command-line
installer and configuration script.

More news...


August 25, 2010
VDPMill 3.3 released

Release brings job queuing application
with an XML-RPC interface, VDPMill
Control Panel as a console to configure
and run VDPMill components, a user-
friendly GUI application to create
VDPMill job tickets.

More news...


June 3, 2010
VDPMill 3.2 released

Release includes XML job ticket support
as the main format for GUI application
project files, customized post-
processing (OMR, Transpromo) support
for separated/joined output.

More news...


May 4, 2010
VisualXSL 2.3.1 released

Release includes JavaScript for
radiobuttons and action buttons
in PDF forms, further improvements
over Undo operations, and several
display problems.

More news...


RenderX RSS RSS: Subscribe

Add to Google Add to MyYahoo!