<?xml version="1.0" encoding="iso-8859-1"?>
<ext-module name="Ft.Xml.Xslt.BuiltInExtFunctions" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-8.0-RELEASE-p2-i386-2.4/Ft/Xml/Xslt/BuiltInExtFunctions.py">
  <description>4XSLT specific extension functions (i.e. ones that create a node set)

Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/</description>
  <namespaces>
    <namespace prefix="f" namespace-uri="http://xmlns.4suite.org/ext"/>
  </namespaces>
  <functions>
    <function namespace-uri="http://xmlns.4suite.org/ext" name="f:lookup">
      <description>f:lookup() queries an index as defined by f:create-index.</description>
      <result>unknown</result>
      <argument required="yes" name="name"/>
      <argument required="yes" name="key"/>
    </function>
    <function namespace-uri="http://xmlns.4suite.org/ext" name="f:split">
      <description>DEPRECATED.
Equivalent to EXSLT's str:split().
Splits a string according to a sub-string and return a node set
of elements nodes, each of which is named &quot;Split&quot; and contains the
split text
For example f:split('A,B,C,') returns a node set of &quot;Split&quot; nodes
having text nodes with values &quot;A&quot;, &quot;B&quot; and &quot;C&quot;
arg - converted to a string, is the string to split up
delim - the delimiter upon which to split, defaults to &quot; &quot;</description>
      <result>unknown</result>
      <argument required="yes" name="arg"/>
      <argument name="delim"/>
    </function>
    <function namespace-uri="http://xmlns.4suite.org/ext" name="f:map">
      <description>Apply the function serially over the given node sets.
In iteration i, the function is passed N parameters
where N is the number of argument node sets.  Each
parameter is a node set of size 1, whose node is
the ith node of the corresponding argument node set.
The return value is a node set consisting of a series
of result-tree nodes, each of which is a text node
whose value is the string value of the result of the
ith function invocation.
Warning: this function uses the implied ordering of the node set
Based on its implementation as a Python list.  But in reality
There is no reliable ordering of XPath node sets.
Therefore this function is not recommended for use with
more than one node set parameter.</description>
      <result>unknown</result>
      <argument required="yes" name="funcname"/>
    </function>
    <function namespace-uri="http://xmlns.4suite.org/ext" name="f:serialize-xml">
      <description>f:serialize-xml() takes a node set and turns it into a string
representing the serialization of the node set, obtained
by concatenating the serialization of each node in the
node set in document order.

See also: XPath (not XSLT) extension function f:parse-xml()</description>
      <result>unknown</result>
      <argument required="yes" name="nodeset"/>
      <argument name="method"/>
      <argument name="omitxmldecl"/>
    </function>
    <function namespace-uri="http://xmlns.4suite.org/ext" name="f:search-re">
      <description>Do a regular expression search against the argument (i.e. get all matches)</description>
      <result>unknown</result>
      <argument required="yes" name="pattern"/>
      <argument name="arg"/>
    </function>
    <function namespace-uri="http://xmlns.4suite.org/ext" name="f:doc-as-string">
      <description>Retrieves a document, similar to the document() function, but
returns the document as an XPath string object rather than as a
node-set.

Security note: if the associated URI resolver allows file: URLs,
this extension could be used to read arbitrary system files</description>
      <result>unknown</result>
      <argument required="yes" name="obj"/>
      <argument name="encoding"/>
    </function>
    <function namespace-uri="http://xmlns.4suite.org/ext" name="f:key">
      <description>Query an XSLT key, but allow the user to override the context node for
purposes of determining which source document to check.
realContextNode is a node set from which the first node is extracted
And used as the context node</description>
      <result>unknown</result>
      <argument required="yes" name="qname"/>
      <argument required="yes" name="keyList"/>
      <argument name="realContextNode"/>
    </function>
  </functions>
</ext-module>
