<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:pf="http://www.daisy.org/ns/pipeline/functions" xmlns:java="implemented-in-java" version="2.0">
<doc xmlns="http://www.oxygenxml.com/ns/doc/xsl">
<desc>
<p>Encode a (Unicode) braille string using the specified character set.</p>
</desc>
</doc>
<java:function name="pf:pef-encode" as="xs:string">
<xsl:param name="table" as="xs:string"/>
<xsl:param name="braille" as="xs:string"/>
</java:function>
<doc xmlns="http://www.oxygenxml.com/ns/doc/xsl">
<desc>
<p>Decode a braille string in the specified character set (to Unicode braille).</p>
</desc>
</doc>
<java:function name="pf:pef-decode" as="xs:string">
<xsl:param name="table" as="xs:string"/>
<xsl:param name="text" as="xs:string"/>
</java:function>
<doc xmlns="http://www.oxygenxml.com/ns/doc/xsl">
<desc>
<p>Assert that the given medium is a braille file format.</p>
<p>Raises an error if the condition is not met.</p>
<p>Returns the gived medium if the condition is met.</p>
</desc>
</doc>
<xsl:function xmlns:PefMediaFunctions="org.daisy.pipeline.braille.pef.saxon.impl.PefMediaFunctionProvider$PefMediaFunctions" name="pf:pef-assert-embossable" as="item()">
<xsl:param name="medium" as="item()"/>
<xsl:sequence select="PefMediaFunctions:assertEmbossable($medium)">
</xsl:sequence>
</xsl:function>
</xsl:stylesheet>