dacarver | 2383646 | 2008-03-14 03:48:13 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
dacarver | 29e6cdd | 2008-03-15 02:53:36 +0000 | [diff] [blame] | 2 | <chapter id="XSLPreferences" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:noNamespaceSchemaLocation="http://www.docbook.org/xsd/4.5/docbook.xsd"> |
dacarver | 8f6274e | 2008-03-22 23:29:12 +0000 | [diff] [blame] | 4 | <?dbhtml filename="preferences/xslpreferences.html" ?> |
dacarver | 29e6cdd | 2008-03-15 02:53:36 +0000 | [diff] [blame] | 5 | <title>XSL Tooling Preferences</title> |
| 6 | <para> |
| 7 | The XSL Preference pages has several sub sections. Each of these allow for configuration |
| 8 | of various aspects of the preferences. From the controlling of the default XSL processor |
| 9 | to be used during transformations. To extending the content assist support of the XPath |
| 10 | functions available in the XML editor. |
| 11 | </para> |
| 12 | <mediaobject> |
| 13 | <imageobject> |
dacarver | eb1f24d | 2008-03-15 22:05:29 +0000 | [diff] [blame] | 14 | <imagedata align="center" fileref="../images/preferences/xslpreferences.png" |
dacarver | 29e6cdd | 2008-03-15 02:53:36 +0000 | [diff] [blame] | 15 | format="PNG" /> |
| 16 | </imageobject> |
| 17 | </mediaobject> |
| 18 | <section id="XSLFeatures"> |
dacarver | 8f6274e | 2008-03-22 23:29:12 +0000 | [diff] [blame] | 19 | <?dbhtml filename="preferences/xslfeatures.html" ?> |
dacarver | 29e6cdd | 2008-03-15 02:53:36 +0000 | [diff] [blame] | 20 | <title>Features</title> |
| 21 | <para> |
| 22 | The XSL Features preference page allows for the configuration of features for a particular |
| 23 | processor. XSL Tooling comes with Xalan 2.7.0 by default. Adopters can extend and include |
| 24 | their own specific features for their own procesoors. An adopter could extend the tooling |
| 25 | to support XSLT 2.0 transformations, and features particular to that parser. |
| 26 | </para> |
| 27 | <mediaobject> |
| 28 | <imageobject> |
| 29 | <imagedata align="center" format="PNG" |
dacarver | eb1f24d | 2008-03-15 22:05:29 +0000 | [diff] [blame] | 30 | fileref="../images/preferences/xslfeatures.png" /> |
dacarver | 29e6cdd | 2008-03-15 02:53:36 +0000 | [diff] [blame] | 31 | </imageobject> |
| 32 | </mediaobject> |
| 33 | <para> |
| 34 | The <emphasis role="bold">Processor Type</emphasis> allows you to set features for a specific processor. In this case |
| 35 | this is for the processor that is being installed. XSL Tooling comes with Xalan 2.7.0, and it is the only available |
| 36 | processor type by default. |
| 37 | </para> |
| 38 | <para> |
| 39 | The feature table lists the features that are specific to the processor that was selected. As you |
| 40 | select each of the features, information regarding that feature and it's abilitis is displayed in the |
| 41 | description box. By clicking in the value column, next to the feature you want to set the value |
| 42 | for, the user can set the feature. |
| 43 | </para> |
| 44 | </section> |
| 45 | <section id="XSLProcessors"> |
dacarver | 8f6274e | 2008-03-22 23:29:12 +0000 | [diff] [blame] | 46 | <?dbhtml filename="preferences/xslprocessors.html" ?> |
dacarver | 29e6cdd | 2008-03-15 02:53:36 +0000 | [diff] [blame] | 47 | <title>Installed Processors</title> |
| 48 | <para> |
| 49 | The installed processors page lets you pick which of the installed XSLT processors will be used |
| 50 | by default. The default is the System Default Procesoor, but you can select any of the |
| 51 | available processors to be used as the default processor. |
| 52 | </para> |
| 53 | <mediaobject> |
| 54 | <imageobject> |
dacarver | eb1f24d | 2008-03-15 22:05:29 +0000 | [diff] [blame] | 55 | <imagedata align="center" fileref="../images/preferences/xsl_InstalledProcessors.png" format="PNG"/> |
dacarver | 29e6cdd | 2008-03-15 02:53:36 +0000 | [diff] [blame] | 56 | </imageobject> |
| 57 | </mediaobject> |
| 58 | </section> |
| 59 | <section id="XSLOutputProperties"> |
dacarver | 8f6274e | 2008-03-22 23:29:12 +0000 | [diff] [blame] | 60 | <?dbhtml filename="preferences/xsloutputproperties.html" ?> |
dacarver | 29e6cdd | 2008-03-15 02:53:36 +0000 | [diff] [blame] | 61 | <title>Output Properties</title> |
| 62 | <para> |
| 63 | The various xsl processors support a wide variety of processor specific tweaks. However there |
| 64 | are several Standard processor features that all XSLT processors support. These options can be |
| 65 | set and will act as the defaults for all transformations unless they are specifically overriden by |
| 66 | the stylesheet or the launch configuration. |
| 67 | </para> |
| 68 | <mediaobject> |
| 69 | <imageobject> |
dacarver | eb1f24d | 2008-03-15 22:05:29 +0000 | [diff] [blame] | 70 | <imagedata align="center" fileref="../images/preferences/xsl_outputproperties.png" format="PNG"/> |
dacarver | 29e6cdd | 2008-03-15 02:53:36 +0000 | [diff] [blame] | 71 | </imageobject> |
| 72 | </mediaobject> |
| 73 | <para> |
| 74 | In addition to the Standard Output Properties, each XSLT processor can have processors |
| 75 | specific features. |
| 76 | </para> |
| 77 | </section> |
dacarver | 2eb7c1d | 2008-03-23 22:24:20 +0000 | [diff] [blame] | 78 | <section id="XPathTemplates"> |
| 79 | <?dbhtml filename="preferences/xpathtemplates.html" ?> |
| 80 | <title>XPath Templates</title> |
| 81 | <para> |
| 82 | XPath template proposal is supported by the XSL Tooling project through the |
| 83 | built in template functionality of eclipse. Users and Adopters can add |
| 84 | their own specific xpath extensions for processor specific extensions. An |
| 85 | example would be to add the EXSLT extensions for proposal support. |
| 86 | </para> |
| 87 | <mediaobject> |
| 88 | <imageobject> |
| 89 | <objectinfo> |
| 90 | <title>XPath Templates</title> |
| 91 | </objectinfo> |
| 92 | <imagedata align="center" fileref="../images/preferences/XPathTemplates.png" format="PNG"/> |
| 93 | </imageobject> |
| 94 | </mediaobject> |
| 95 | <para> |
| 96 | The following content types are available: |
| 97 | </para> |
| 98 | <itemizedlist> |
| 99 | <listitem> |
| 100 | <para> |
| 101 | <emphasis role="bold">axis</emphasis> - an XPath navigation axis statement. |
| 102 | </para> |
| 103 | </listitem> |
| 104 | <listitem> |
| 105 | <para> |
| 106 | <emphasis role="bold">exslt</emphasis> - An XPath statement that is defined by |
| 107 | the <ulink url="http://www.exslt.org/">EXSLT</ulink> library. Xalan and most |
| 108 | other processors have built in support for the EXSLT library. |
| 109 | </para> |
| 110 | </listitem> |
| 111 | <listitem> |
| 112 | <para> |
| 113 | <emphasis role="bold">xpath</emphasis> - Represents an XPATH 1.0 function. These |
| 114 | are functions as defined by the XPath 1.0 specification. |
| 115 | </para> |
| 116 | </listitem> |
| 117 | <listitem> |
| 118 | <para> |
| 119 | <emphasis role="bold">xpath 2.0</emphasis> - Represents an XPath 2.0 function. |
| 120 | <emphasis>Note: That currently XSL Tooling only ships with templates defined for XPath 1.0 .</emphasis> |
| 121 | </para> |
| 122 | </listitem> |
| 123 | <listitem> |
| 124 | <para> |
| 125 | <emphasis role="bold">operator</emphasis> - An xpath logical operator like AND, OR, etc. |
| 126 | </para> |
| 127 | </listitem> |
| 128 | </itemizedlist> |
| 129 | <section id="XPathTemplateNew"> |
| 130 | <?dbhtml filename="preferences/xpathtemplatenew.html" ?> |
| 131 | <title>Creating New Templates</title> |
| 132 | <!-- TODO: Create Additional information on creating new templates--> |
| 133 | <para> |
| 134 | Add documentation about creating new templates. |
| 135 | </para> |
| 136 | </section> |
| 137 | <section id="XPathImport"> |
| 138 | <?dbhtml filename="preferences/xpathimport.html" ?> |
| 139 | <title>Import XPath Templates</title> |
| 140 | <para> |
| 141 | Add documentation about importing new templates. |
| 142 | </para> |
| 143 | </section> |
| 144 | <section id="XPathExport"> |
| 145 | <?dbhtml filename="preferences/xpathexport.html" ?> |
| 146 | <title>Import XPath Templates</title> |
| 147 | <para> |
| 148 | Add documentation about importing new templates. |
| 149 | </para> |
| 150 | </section> |
| 151 | |
| 152 | </section> |
| 153 | |
dacarver | 29e6cdd | 2008-03-15 02:53:36 +0000 | [diff] [blame] | 154 | </chapter> |