applications directory
| type | example |
|---|---|
| string | <xsl:param name="exstring" as="xs:string" select="'45'"/> |
| boolean | <xsl:param name="exbool" as="xs:boolean" select="false()"/> |
| integer | <xsl:param name="exint" as="xs:integer" select="45"/> |
| decimal | <xsl:param name="exdec" as="xs:integer" select="45.0"/> |
| element | <xsl:param name="exel" as="element" select="/*/tan:head"/> |
| Quantity | Symbol | Atomic type example | Node type example |
|---|---|---|---|
| zero or one |
?
|
xs:string?
|
element()?
|
| exactly one | none |
xs:boolean
|
document-node()
|
| zero or more |
*
|
xs:dateTime*
|
attribute()*
|
| one or more |
+
|
xs:integer+
|
comment()+
|
| Symbol | Meaning |
|---|---|
. |
any character |
| | | or (union) |
^ |
start of line |
? |
zero or one |
* |
zero or more |
+ |
one or more |
[ ] |
a class of characters |
( ) |
a group |
\w |
any word character |
\W |
any nonword character |
\s |
any of the four standard spacing characters: space (U+0020), tab (U+0009), newline (U+000A), carriage return (U+000D) |
\S |
anything not a spacing character |
| Symbol | Meaning |
|---|---|
\d |
any digit (0-9) |
\D |
anything not a digit |
\n |
a new line (U+000A) |
\r |
a carriage return line (U+000D) |
\p{IsGujarati} |
any character from the Unicode block named Gujarati |
^ |
beginning of a line or string (doesn't capture any characters) |
$ |
end of a line or string (doesn't capture any characters) |
\\ |
literal backslash (an escaped escape character) |
\^ |
literal caret sign (must be escaped with the ) |
\$ |
literal dollar sign (escaped) |
\( |
literal opening parenthesis (escaped) |
\[ |
literal opening square bracket (escaped) |
| Symbol | Meaning |
|---|---|
\u{+b} |
all composites of the letter b: bᵇḃḅḇ⒝ⓑ㍴㏔㏝b𝐛𝑏𝒃𝒷𝓫𝔟𝕓𝖇𝖻𝗯𝘣𝙗𝚋 |
\u{.symbol} |
all characters that have "symbol" as part of their Unicode name |
\u{!latin} |
all characters that do not have "latin" as part of their Unicode name |
\u{.small.a!latin} |
all characters that have "small" and "a" as part of their Unicode name, but not "latin" |
head/vocabulary-key@xml:ids to a single id@xml:id or @id (to allow punctuation)