Funkce | Výsledek |
---|---|
substring('Ahoj Nazdar Čau', 6, 3) | Naz |
substring-before('Ahoj Nazdar Čau', 'Nazdar') | Ahoj |
substring-after('Ahoj Nazdar Čau', 'Nazdar') | Čau |
translate('Ahoj Nazdar Čau', 'NČ', 'nč') | Ahoj nazdar čau |
lower-case('Ahoj Nazdar Čau') | ahoj nazdar čau |
upper-case('Ahoj Nazdar Čau') | AHOJ NAZDAR ČAU |
string-pad('Ahoj ', 3) | Ahoj Ahoj Ahoj |
Název elementu | string(.) | normalize-space(.) | string-length(.) | starts-with(., 'text') | concat(para[2], para[3]) | contains(., 't cont') | name(.) | local-name(.) | namespace-uri(.) | generate-id(.) |
---|---|---|---|---|---|---|---|---|---|---|
book/ | text content1 text content2 text content3 123 456.789 456.789 | text content1 text content2 text content3 123 456.789 456.789 | 133 | false | true | book | book | d0e1 | ||
chapter/1 | text content1 text content2 text content3 | text content1 text content2 text content3 | 76 | false | text content2 text content3 | true | chapter | chapter | d0e3 | |
para/1a | text content1 | text content1 | 13 | true | true | para | para | d0e5 | ||
para/1b | text content2 | text content2 | 15 | false | true | para | para | d0e8 | ||
para/1c | text content3 | text content3 | 19 | false | false | para | para | d0e11 | ||
chapter/2 | 123 456.789 456.789 | 123 456.789 456.789 | 46 | false | false | chapter | chapter | http://my.ns.com/1 | d0e15 | |
para/2a | 123 | 123 | 3 | false | false | para | para | http://my.ns.com/1 | d0e17 | |
para/2b | 456.789 | 456.789 | 7 | false | false | para | para | http://my.ns.com/2 | d0e20 | |
ns3:para/2c | 456.789 | 456.789 | 7 | false | false | ns3:para | para | http://my.ns.com/3 | d0e23 |