ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamj_5.4.0.1/rzamjxslintro.htm

69 lines
4.4 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="concept" />
<meta name="DC.Title" content="XSL introduction" />
<meta name="abstract" content="Extensible Stylesheet Language (XSL) allows you to format and reorganize existing XML documents into another format (for example, XML or HTML)." />
<meta name="description" content="Extensible Stylesheet Language (XSL) allows you to format and reorganize existing XML documents into another format (for example, XML or HTML)." />
<meta name="DC.Relation" scheme="URI" content="rzamjmain.htm" />
<meta name="DC.Relation" scheme="URI" content="rzamjxsluses.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="rzamjxslintro" />
<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>XSL introduction</title>
</head>
<body id="rzamjxslintro"><a name="rzamjxslintro"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">XSL introduction</h1>
<div><p>Extensible Stylesheet Language (XSL) allows you to format and reorganize
existing XML documents into another format (for example, XML or HTML). </p>
<p>You can use XSL to reformat an XML file to specify the how the data is
to be presented on the web via XSLT stylesheets. You can also write XSLT stylesheets
to reorganize an XML document to remove or add elements or to change
it into another XML document. XSLT stylesheets are written in XML to achieve
this.</p>
<p>This process has two basic components:</p>
<ul><li>Use XSL stylesheets to define a set of patterns and templates you want
to use to replace XML elements. A pattern identifies the XML element, and
the corresponding template is used by an XSL processor to actually replace
the XML element. For example, you can transform data elements in an XML document
to display appropriately in a browser or mailing label.</li>
<li>Use XSLT documents to transform the hierarchy of XML data into a different
kind of tree, reordering elements as you prefer. For example, you can add
a table of contents or an index to a set of data that does not have one. You
can also use XSLT to transform the grammar of XML documents. For example,
you can transform the grammar for a set of incoming XML request documents
to a different XML grammar required by the receiving application.</li>
</ul>
<p>These technologies do more than format the display of an XML document.
They change it so that it becomes a different kind of document. In conjunction
with other XML tools and extensions, such as parsers and XML Linking Language
(XLink), you can produce new documents formats such as specific word processing
formats, portable document format (PDF), HTML, and more.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rzamjxsluses.htm">Uses of XSL</a></strong><br />
XSL can be used for many XML transformation and reformatting tasks.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzamjmain.htm" title="The XML Toolkit for iSeries (licensed program offering (LPO) 5733-XT1) is designed to provide key development enablement components, XML parsers, to assist in the use of XML for general application or business-to-business (B2B) solutions. The XSL transformer allows you to reformat or reorganize XML documents to other formats (for example, XML or HTML).">XML Toolkit for iSeries</a></div>
</div>
</div>
</body>
</html>