Click here to Skip to main content
13,258,269 members (41,457 online)
Click here to Skip to main content

Tagged as

Stats

60.7K views
1.7K downloads
126 bookmarked
Posted 9 Jun 2010

Generating PDF reports using nfop

This article will help you to examine the main features of XSL schemes to generate programmatically advanced PDF reports.
<?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.
Hungary Hungary
This member doesn't quite have enough reputation to be able to display their biography and homepage.
Group type: Organisation

32 members


Petro Vodopyan
Ukraine Ukraine
No Biography provided

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171114.1 | Last Updated 7 Jun 2011
Article Copyright 2010 by Apriorit Inc, Petro Vodopyan
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid