palate 0.3.7

File type detection combining tft and hyperpolyglot
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<x:description xmlns:x="http://www.jenitennison.com/xslt/xspec" 
               xmlns:functx="http://www.functx.com"
               query="http://www.functx.com" 
               query-at="xquery-tutorial.xq">

  <x:scenario label="Calling function capitalize-first">
    <x:call function="functx:capitalize-first">
      <x:param select="'hello'"/>
    </x:call>

    <x:expect label="should capitalize the first character of the string" select="'Hello'"/>

  </x:scenario>

</x:description>