Skip to main content
summaryrefslogtreecommitdiffstats
blob: f0d43135bd619e1788ff3e8b906d6efad0f6504d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="STYLESHEET" href="../../book.css" charset="ISO-8859-1" type="text/css"/>
<title>Additional XPath Functions</title>
</head>
<body>
<H2>Additional XPath Functions</H2>
<P>
The following functions are included in JET, in addition to the XPath functions specified by the
<a href="http://www.w3.org/TR/xpath#corelib">XPath 1.0 Core Function Library</a>.
</P>
<TABLE border="1" width="100%">
	<TBODY>
		<TR>
			<TH colspan="2" align="left">Function Summary</TH></TR>
		<TR>
			<TD width="10%"><A href="camelCaseFunction.html">camelCase</A></TD>
			<TD>
			<!--	Begin camelCase description -->
			Uppercases the first letter in each token and removes all whitespace.
			<!--	End camelCase description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="cardinalityFunction.html">cardinality</A></TD>
			<TD>
			<!--	Begin cardinality description -->
			Returns whether an XPath expression returns zero, one or more than one node
			<!--	End cardinality description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="classNameFunction.html">className</A></TD>
			<TD>
			<!--	Begin className description -->
			Returns the classname from a fully quallified classname
			<!--	End className description -->
			</TD>
		</TR>
        <TR>
            <TD width="10%"><A href="emf.eClassFunction.html">emf.eClass</A></TD>
            <TD>
            <!--    Begin emf.eClass description -->
            Return the EMF EClass of an object.
            <!--    End emf.eClass description -->
            </TD>
        </TR>
		<TR>
			<TD width="10%"><A href="escapeJavaWhitespaceFunction.html">escapeJavaWhitespace</A></TD>
			<TD>
			<!--	Begin escapeJavaWhitespace description -->
			Replaces whitespace characters with their escaped java string equivalent strings.
			<!--	End escapeJavaWhitespace description -->
			</TD>
		</TR>
        <TR>
            <TD width="10%"><A href="evalFunction.html">eval</A></TD>
            <TD>
            <!--    Begin eval description -->
            Evaluate a dynamically created XPath function and return its result.
            <!--    End eval description -->
            </TD>
        </TR>
        <TR>
            <TD width="10%"><A href="isVariableDefined.html">isVariableDefined</A></TD>
            <TD>
            <!--    Begin escapeJavaWhitespace description -->
            Test whether the named variable is defined.
            <!--    End escapeJavaWhitespace description -->
            </TD>
        </TR>
		<TR>
			<TD width="10%"><A href="lower_caseFunction.html">lower-case</A></TD>
			<TD>
			<!--	Begin lower-case description -->
			lowercases the entire string.
			<!--	End lower-case description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="lowercaseFirstFunction.html">lowercaseFirst</A></TD>
			<TD>
			<!--	Begin lowercaseFirst description -->
			Lowercases the first charater in the string.
			<!--	End lowercaseFirst description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="packageNameFunction.html">packageName</A></TD>
			<TD>
			<!--	Begin packageName description -->
			Returns the package name from a fully-qualified Java class name
			<!--	End packageName description -->
			</TD>
		</TR>
        <TR>
            <TD width="10%"><A href="propertiesEncodeFunction.html">propertiesEncode</A></TD>
            <TD>
            <!--    Begin propertiesEncode description -->
            Encode string content to conform to rules for Java properties files
            <!--    End propertiesEncode description -->
            </TD>
        </TR>
		<TR>
			<TD width="10%"><A href="removeWhitespaceFunction.html">removeWhitespace</A></TD>
			<TD>
			<!--	Begin removeWhitespace description -->
			Removes all whitespace from a string.
			<!--	End removeWhitespace description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="sortFunction.html">sort</A></TD>
			<TD>
			<!--	Begin sort description -->
			Sort a node set by the specified sort keys.
			<!--	End sort description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="trimWhitespaceFunction.html">trimWhitespace</A></TD>
			<TD>
			<!--	Begin trimWhitespace description -->
			Removes all leading and trailing whitespace from a string
			<!--	End trimWhitespace description -->
			</TD>
		</TR>
        <TR>
            <TD width="10%"><A href="uml2.stereotypeFunction.html">uml2.stereotype</A></TD>
            <TD>
            <!--    Begin uml2.stereotype description -->
            Access a named UML2 stereotype on a UML2 element
            <!--    End uml2.stereotype description -->
            </TD>
        </TR>
		<TR>
			<TD width="10%"><A href="upper_caseFunction.html">upper-case</A></TD>
			<TD>
			<!--	Begin upper-case description -->
			Uppercases all charaters in the string.
			<!--	End upper-case description -->
			</TD>
		</TR>
		<TR>
			<TD width="10%"><A href="uppercaseFirstFunction.html">uppercaseFirst</A></TD>
			<TD>
			<!--	Begin uppercaseFirst description -->
			Uppercases the first letter in the string
			<!--	End uppercaseFirst description -->
			</TD>
		</TR>
        <TR>
            <TD width="10%"><A href="xmlEncodeFunction.html">xmlEncode</A></TD>
            <TD>
            <!--    Begin xmlEncode description -->
            Replaces characters that cause problems when parsing XML streams with the equivalent XML entities.
            <!--    End xmlEncode description -->
            </TD>
        </TR>
	</TBODY>
</TABLE>

</body>
</html>

Back to the top