blob: 7215254c584536c59476e00842402ed2f7d564d2 [file] [log] [blame]
<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>XPath Templates</title><link href="book.css" rel="stylesheet" type="text/css"><link href="../book.css" rel="stylesheet" type="text/css"><meta content="DocBook XSL Stylesheets V1.74.0" name="generator"><link rel="home" href="../index.html" title="XSL Tools User Documentation"><link rel="up" href="xslpreferences.html" title="XSL Tools Preferences"><link rel="prev" href="xsloutputproperties.html" title="Output Properties"><link rel="next" href="validation.html" title="Project Validation Preferences"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="XPathTemplates"></a>XPath Templates</h2></div></div></div><p> XPath template proposal is supported by the XSL Tooling project through the
built in template functionality of eclipse. Users and Adopters can add their
own specific xpath extensions for processor specific extensions. An example
would be to add the EXSLT extensions for proposal support.</p><div class="mediaobject" align="center"><img src="../images/preferences/XPathTemplates.png" align="middle"></div><p> The following content types are available:</p><div class="itemizedlist"><ul type="disc"><li><p>
<span class="bold"><strong>axis</strong></span>
- an XPath navigation axis statement.
</p></li><li><p>
<span class="bold"><strong>exslt</strong></span>
- An XPath statement that is defined by the
<a class="ulink" href="http://www.exslt.org/" target="_top">EXSLT</a>
library. Xalan and most other processors have built in support for the
EXSLT library.
</p></li><li><p>
<span class="bold"><strong>xpath</strong></span>
- Represents an XPATH 1.0 function. These are functions as defined by
the XPath 1.0 specification.
</p></li><li><p>
<span class="bold"><strong>xpath 2.0</strong></span>
- Represents an XPath 2.0 function.
<span class="emphasis"><em>Note: That currently XSL Tools only ships with
templates defined for XPath 1.0 .</em></span>
</p></li><li><p>
<span class="bold"><strong>operator</strong></span>
- An xpath logical operator like AND, OR, etc.
</p></li></ul></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="XPathTemplateNew"></a>Creating New Templates</h3></div></div></div><p> Add documentation about creating new templates.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="XPathImport"></a>Import XPath Templates</h3></div></div></div><p> Add documentation about importing new templates.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="XPathExport"></a>Import XPath Templates</h3></div></div></div><p> Add documentation about importing new templates.</p></div></div></body></html>