|
Home > Online Product Documentation > Table of Contents > Viewing the FO Sample Application Viewing the FO Sample ApplicationTo view the FO sample application included with Stylus Studio:
1. In Stylus Studio, open the
examples\XSLFormattingObjects\minimal-catalog.xsl file in your Stylus Studio installation directory.
Alternative: If the Stylus Studio
The
In this scenario, Stylus Studio selects elements to operate on from three different documents. These documents are in the
2. Click
Preview Result
After a few seconds, the Preview window displays the PDF result in Acrobat Reader. The result contains a few lines of text for each video and book found in the XML source documents. The title, author or director, and the description is included for each item. It is hard to see where information for one item ends and another begins.
3. Examine the stylesheet. It contains the minimum FO instructions required to generate FO. There is no formatting to make the result document easier to read. You can use this stylesheet as a skeleton for creating your own stylesheets that generate FO.
4. Now open the
examples\XSLFormattingObjects\catalog.xsl stylesheet.
5. Click
Preview Result
This time the PDF result in the
Preview window is nicely formatted. The
|
Convert DTD to XML
Learn how to create a sample XML instance document from a DTD using Stylus Studio DTD to XML conversion tools.
Stylus Studio's Advanced XQuery Mapper Features
Learn how to create an advanced XQuery expression in the XQuery mapper, specifying operations, constants, and ports, for use in conditional blocks and FLWR expressions. Free online video demonstration!
Stylus Studio User Guides (PDF Download)
Download Stylus Studio User Guides in printer-friendly PDF format, including documentation of past (older) versions of Stylus Studio.
Accessing Relational Databases as XML with Stylus Studio's File Explorer
This demonstration is the first part of our series on working with relational and XML data, covering how to use Stylus Studio's File Explorer to connect to and query relational database tables as XML.