Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.jet/plugin.xml')
-rw-r--r--plugins/org.eclipse.jet/plugin.xml38
1 files changed, 30 insertions, 8 deletions
diff --git a/plugins/org.eclipse.jet/plugin.xml b/plugins/org.eclipse.jet/plugin.xml
index 7bc3c23..1e3bc23 100644
--- a/plugins/org.eclipse.jet/plugin.xml
+++ b/plugins/org.eclipse.jet/plugin.xml
@@ -1007,6 +1007,22 @@ if 'length' is specified, convert only the specified number of characters, other
<emptyTag name="uuid" class="org.eclipse.jet.internal.taglib.format.UuidTag" >
<description>Generate a universally unique identifier (UUID).</description>
</emptyTag>
+ <functionTag
+ class="org.eclipse.jet.internal.taglib.format.XPathTag"
+ name="xpath"
+ whenContainingLineIsEmpty="preserve">
+ <description>
+ Evaluate the specified XPath function on the tag content and write the result in place of the tag content. The tag content is referenced by the variable $bodyContent.
+ </description>
+ <attribute
+ name="select"
+ type="xpath"
+ use="required">
+ <description>
+ The XPath expression to evaluate. The result is automatically converted to a a string. The tags content is refered to by the variable $bodyContent.
+ </description>
+ </attribute>
+ </functionTag>
</tagLibrary>
</extension>
<extension
@@ -1131,6 +1147,12 @@ if 'length' is specified, convert only the specified number of characters, other
minArgs="1"
name="escapeJavaWhitespace"/>
<function
+ implementation="org.eclipse.jet.internal.xpath.functions.extras.IsVariableDefinedFunction"
+ maxArgs="1"
+ minArgs="1"
+ name="isVariableDefined">
+ </function>
+ <function
implementation="org.eclipse.jet.internal.xpath.functions.extras.Lower_caseFunction"
maxArgs="1"
minArgs="1"
@@ -1141,17 +1163,12 @@ if 'length' is specified, convert only the specified number of characters, other
minArgs="1"
name="lowercaseFirst"/>
<function
- implementation="org.eclipse.jet.internal.xpath.functions.extras.XmlEncodeFunction"
- maxArgs="1"
- minArgs="1"
- name="xmlEncode"/>
- <function
implementation="org.eclipse.jet.internal.xpath.functions.extras.PackageNameFunction"
maxArgs="1"
minArgs="1"
name="packageName"/>
<function
- implementation="org.eclipse.jet.internal.xpath.functions.extras.RemoveWhitespaceFunction"
+ implementation="org.eclipse.jet.internal.xpath.functions.extras.PropertiesEncodeFunction"
maxArgs="1"
minArgs="1"
name="removeWhitespace"/>
@@ -1171,10 +1188,15 @@ if 'length' is specified, convert only the specified number of characters, other
minArgs="1"
name="uppercaseFirst"/>
<function
- implementation="org.eclipse.jet.internal.xpath.functions.extras.IsVariableDefinedFunction"
+ implementation="org.eclipse.jet.internal.xpath.functions.extras.XmlEncodeFunction"
maxArgs="1"
minArgs="1"
- name="isVariableDefined">
+ name="xmlEncode"/>
+ <function
+ implementation="org.eclipse.jet.internal.xpath.functions.extras.PropertiesEncodeFunction"
+ maxArgs="2"
+ minArgs="1"
+ name="propertiesEncode">
</function>
<function
implementation="org.eclipse.jet.internal.xpath.functions.extras.SortFunction"

Back to the top