ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/rzahhxpcmlusingconcondense.htm

66 lines
4.2 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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="Condensing existing XPCML documents" />
<meta name="abstract" content="Condensing existing XPCML documents results in more readable and usable XPCML source. To create condensed XPCML, use the ProgramCallDocument.condenseXPCML method." />
<meta name="description" content="Condensing existing XPCML documents results in more readable and usable XPCML source. To create condensed XPCML, use the ProgramCallDocument.condenseXPCML method." />
<meta name="DC.Relation" scheme="URI" content="rzahhxpcmlusingcon.htm" />
<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="rzahhxpcmlusingcon" />
<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>Condensing existing XPCML documents</title>
</head>
<body id="rzahhxpcmlusingcon"><a name="rzahhxpcmlusingcon"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Condensing existing XPCML documents</h1>
<div><p>Condensing existing XPCML documents results in more readable and
usable XPCML source. To create condensed XPCML, use the ProgramCallDocument.condenseXPCML
method. </p>
<div class="section"><p>To call condenseXPCML(), provide the following parameters to the
method:</p>
<ul><li>An input stream that represents the existing XPCML</li>
<li>An ouput stream that repesents the condensed XPCML</li>
<li>An output stream that represents the new, extended schema</li>
<li>A name for the new schema in the appropriate format (for example, mySchema.xsd)</li>
</ul>
<p>For more information about condenseXPCML() and the ProgramCallDocument
class, see the following page:</p>
<blockquote><a href="javadoc\com\ibm\as400\data\ProgramCallDocument.html">ProgramCallDocument javadoc information</a></blockquote>
<p>ProgramCallDocument.condenseXPCML()
is a static method, which means that you do not have to instantiate a ProgramCallDocument
object in order to call the method.</p>
</div>
<div class="section"><h4 class="sectiontitle">Examples</h4><p>The following examples illustrate how to
condense an existing XPCML document.</p>
<p>The first example is simple and
includes original XPCML source, the resulting condensed XPCML, and the extended
schema. The second example is longer and more complex, so it includes the Java™ code
that calls condenseXPCML() and only a few of the newly generated type definitions
in the extended schema:</p>
<blockquote><p><a href="rzahhxpcmlexmplconcondense01.htm">Example: Condensing an existing XPCML document</a></p>
<p><a href="rzahhxpcmlexmplconcondense02.htm">Example: Condensing an existing XPCML document, including Java code</a></p>
</blockquote>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahhxpcmlusingcon.htm" title="Because XPCML is extensible, you can define new parameter types that extend those specified by the XPCML schema. Condensing XPCML extends the XPCML schema to create new data type definitions that simplify and improve the readability and usability of your XPCML documents.">Using condensed XPCML</a></div>
</div>
</div>
</body>
</html>