80 lines
4.5 KiB
HTML
80 lines
4.5 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="reference" />
|
||
|
<meta name="DC.Title" content="Examples: Using HTMLDocument" />
|
||
|
<meta name="abstract" content="" />
|
||
|
<meta name="description" content="" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="htmldocumentexpls" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Examples: Using HTMLDocument</title>
|
||
|
</head>
|
||
|
<body id="htmldocumentexpls"><a name="htmldocumentexpls"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Examples: Using HTMLDocument</h1>
|
||
|
<div><p></p>
|
||
|
<div class="section"><p>The following examples show ways that you can use the HTMLDocument
|
||
|
class to generate HTML and Extensible Stylesheet Language (XSL) Formatting
|
||
|
Object (FO) source data. Both examples stream the data to....? but you can
|
||
|
do this or that with it, too?</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Example: Using HTMLDocument to generate both HTML source and
|
||
|
XSL FO source</h4><p> The following examples show how to generate both
|
||
|
HTML source data and XSL FO source data at the same time:</p>
|
||
|
<blockquote><a href="htmldocumenthtmlexmpl.htm">Example: Using HTMLDocument to generate both HTML source and XSL FO source</a></blockquote>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Example: Converting XSL FO source data to a PDF</h4><p>After
|
||
|
you create XSL FO source data, you need to convert that XSL FO data to a form
|
||
|
that your users can view and print. The following example shows how to convert
|
||
|
a file that contains XSL FO source data to a PDF document by using the XSLReportWriter
|
||
|
and Context classes:</p>
|
||
|
<blockquote><a href="htmldocumentfoexmpl.htm">Example: Converting XSL FO source data to a PDF</a></blockquote>
|
||
|
<p>The
|
||
|
following disclaimer applies to all of the IBM<sup>®</sup> Toolbox for Java™ examples:</p>
|
||
|
<blockquote><strong>Code example disclaimer</strong> <p>IBM grants
|
||
|
you a nonexclusive copyright license to use all programming code examples
|
||
|
from which you can generate similar function tailored to your own specific
|
||
|
needs.</p>
|
||
|
<p>All sample code is provided by IBM for illustrative purposes only. These
|
||
|
examples have not been thoroughly tested under all conditions. IBM, therefore,
|
||
|
cannot guarantee or imply reliability, serviceability, or function of these
|
||
|
programs.</p>
|
||
|
<p>All programs contained herein are provided to you "AS IS"
|
||
|
without any warranties of any kind. The implied warranties of non-infringement,
|
||
|
merchantability and fitness for a particular purpose are expressly disclaimed.</p>
|
||
|
</blockquote>
|
||
|
</div>
|
||
|
<div class="section"><p>The following disclaimer applies to all of the IBM Toolbox for Java examples:</p>
|
||
|
<blockquote><strong>Code
|
||
|
example disclaimer</strong> <p>IBM grants you a nonexclusive copyright license to use
|
||
|
all programming code examples from which you can generate similar function
|
||
|
tailored to your own specific needs.</p>
|
||
|
<p>All sample code is provided by IBM for
|
||
|
illustrative purposes only. These examples have not been thoroughly tested
|
||
|
under all conditions. IBM, therefore, cannot guarantee or imply reliability,
|
||
|
serviceability, or function of these programs.</p>
|
||
|
<p>All programs contained
|
||
|
herein are provided to you "AS IS" without any warranties of any kind. The
|
||
|
implied warranties of non-infringement, merchantability and fitness for a
|
||
|
particular purpose are expressly disclaimed.</p>
|
||
|
</blockquote>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|