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

92 lines
5.8 KiB
HTML
Raw 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="XML parser and XSLT processor" />
<meta name="abstract" content="Some IBM Toolbox for Java packages or functions require that, at run-time, you have an Extensible Markup Language (XML) parser or Extensible Stylesheet Language Transformations (XSLT) processor in your CLASSPATH environment variable." />
<meta name="description" content="Some IBM Toolbox for Java packages or functions require that, at run-time, you have an Extensible Markup Language (XML) parser or Extensible Stylesheet Language Transformations (XSLT) processor in your CLASSPATH environment variable." />
<meta name="DC.Relation" scheme="URI" content="rzahhxmlmain.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="rzahhxpcmlrequire" />
<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>XML parser and XSLT processor</title>
</head>
<body id="rzahhxpcmlrequire"><a name="rzahhxpcmlrequire"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">XML parser and XSLT processor</h1>
<div><p>Some IBM<sup>®</sup> Toolbox
for Java™ packages
or functions require that, at run-time, you have an Extensible Markup Language
(XML) parser or Extensible Stylesheet Language Transformations (XSLT) processor
in your CLASSPATH environment variable.</p>
<div class="section"><p>Refer to the following information to determine which parser and
processor you want to use.</p>
<p>For more information about which IBM Toolbox for Java packages
and functions require an XML parser or XSLT processor, see the following page:</p>
<blockquote><a href="jarfilelist.htm">Jar files</a></blockquote>
</div>
<div class="section"><h4 class="sectiontitle">XML parser</h4><p>If the package or function requires an
XML parser, you must include an XML parser in the CLASSPATH at run-time. The
XML parser must meet the following requirements:</p>
<ul><li>Be JAXP-compliant</li>
<li>Extend class org.apache.xerces.parsers.SAXParser</li>
<li>Support full schema validation</li>
</ul>
<div class="note"><span class="notetitle">Note:</span> The parser only needs to support full schema validation
if use intend to use XPCML. If you are only using PCML, full schema validation
is not necessary.</div>
<p>The Java 2 Software Developer Kit (J2SDK), version
1.4, includes a suitable XML parser. If you use a previous version of J2SDK,
use any of the following methods to access a suitable XML parser:</p>
<ul><li>Use x4j400.jar (an IBM version of the Xerces XML parser from Apache)</li>
<li>Download the Xerces XML parser from the <a href="http://xml.apache.org/" target="_blank">Apache Web site</a> <img src="www.gif" alt="Link outside Information Center" /> </li>
<li>Use any compatible XML parser in the /QIBM/ProdData/OS400/xml/lib directory
on your iSeries™ server</li>
</ul>
<div class="note"><span class="notetitle">Note:</span> Consider using the latest versions of the parsers that
reside in /QIBM/ProdData/OS400/xml/lib. For example, xmlapis11.jar and xerces411.jar
are both fully validating parsers.</div>
<p>You can use these parsers on your
server or copy them to a workstation.</p>
<div class="note"><span class="notetitle">Note:</span> Any XML parser that meets the
requirements for running XPCML can run PCML and RFML. Keep in mind that XPCML
does not support serialization.</div>
</div>
<div class="section"><h4 class="sectiontitle">XSLT processor</h4><p>If the package or function requires
an XSLT processor, you must include an XSLT processor in the CLASSPATH at
run-time. The XSLT processor must meet the following requirements:</p>
<ul><li>Be JAXP-compliant</li>
<li>Contain the class javax.xml.transform.Transformer</li>
</ul>
<p>The Java 2 Software Developer Kit (J2SDK), version 1.4,
includes a suitable XSLT processor. If you use a previous version of J2SDK,
use any of the following methods to access a suitable XSLT processor:</p>
<ul><li>Use xslparser.jar (an IBM version of the Xalan XSLT processor from Apache)</li>
<li>Download the Xalan XSLT processor from the <a href="http://xml.apache.org/" target="_blank">Apache Web site</a> <img src="www.gif" alt="Link outside Information Center" /> </li>
<li>Use any compatible XSLT processor in the /QIBM/ProdData/OS400/xml/lib
directory on your iSeries server</li>
</ul>
<p>You can use these processors on your server or copy them to a workstation.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahhxmlmain.htm" title="IBM Toolbox for Java includes several Extensible Markup Language (XML) components, including an XML parser.">Extensible Markup Language components</a></div>
</div>
</div>
</body>
</html>