Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Go to top

Generating PDF reports using nfop

, , 7 Jun 2011
This article will help you to examine the main features of XSL schemes to generate programmatically advanced PDF reports.
PDFReport.zip
PDFReport
PDFReport
PDFReport
PDFReport
Properties
report.fo
<?xml version="1.0"?>
<ArrayOfAuthor xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Author>
    <created>
      <Book>
        <id>1</id>
        <bookProps>
          <name>Lord of the rings</name>
          <price>900</price>
        </bookProps>
        <articles>
          <Pare>
            <name>Gollum</name>
            <pages>190</pages>
          </Pare>
          <Pare>
            <name>Gendalf</name>
            <pages>90</pages>
          </Pare>
          <Pare>
            <name>Frodo</name>
            <pages>31</pages>
          </Pare>
          <Pare>
            <name>Boromir</name>
            <pages>95</pages>
          </Pare>
        </articles>
      </Book>
      <Book>
        <id>2</id>
        <bookProps>
          <name>How i met your mother</name>
          <price>490</price>
        </bookProps>
        <articles>
          <Pare>
            <name>Introduction</name>
            <pages>86</pages>
          </Pare>
          <Pare>
            <name>Table of contents</name>
            <pages>17</pages>
          </Pare>
          <Pare>
            <name>Chapter 1</name>
            <pages>902</pages>
          </Pare>
          <Pare>
            <name>Chapter 2</name>
            <pages>1500</pages>
          </Pare>
          <Pare>
            <name>Chapter 3</name>
            <pages>91</pages>
          </Pare>
          <Pare>
            <name>Chapter 100500</name>
            <pages>74</pages>
          </Pare>
        </articles>
      </Book>
      <Book>
        <id>3</id>
        <bookProps>
          <name>Sample</name>
          <price>130</price>
        </bookProps>
        <articles>
          <Pare>
            <name>1</name>
            <pages>43</pages>
          </Pare>
          <Pare>
            <name>2</name>
            <pages>73</pages>
          </Pare>
        </articles>
      </Book>
    </created>
    <name>Tolkein</name>
    <id>0</id>
  </Author>
  <Author>
    <created>
      <Book>
        <id>5</id>
        <bookProps>
          <name>New one</name>
          <price>12</price>
        </bookProps>
        <articles>
          <Pare>
            <name>sample ыыы1</name>
            <pages>123</pages>
          </Pare>
          <Pare>
            <name>sample 2</name>
            <pages>124</pages>
          </Pare>
          <Pare>
            <name>sample 3</name>
            <pages>125</pages>
          </Pare>
        </articles>
      </Book>
    </created>
    <name>Tolstoy</name>
    <id>4</id>
  </Author>
</ArrayOfAuthor>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Authors

Apriorit Inc
Apriorit Inc.
Ukraine Ukraine
ApriorIT is a Software Research and Development company that works in advanced knowledge-intensive scopes.
 
Company offers integrated research&development services for the software projects in such directions as Corporate Security, Remote Control, Mobile Development, Embedded Systems, Virtualization, Drivers and others.
 
Official site http://www.apriorit.com
Group type: Organisation

31 members

Follow on   LinkedIn

Petro Vodopyan

Ukraine Ukraine
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 7 Jun 2011
Article Copyright 2010 by Apriorit Inc, Petro Vodopyan
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid