Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 967

saxon-manual-9.4.0.9-2.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Fri Dec 09 20:47:43 GMT 2011 -->
<TITLE>
Extensions
</TITLE>

<META NAME="date" CONTENT="2011-12-09">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="Extensions";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/saxonica/functions/extfn/ExpressionFn.html" title="class in com.saxonica.functions.extfn"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/saxonica/functions/extfn/ExtraFunctionLibrary.html" title="class in com.saxonica.functions.extfn"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/saxonica/functions/extfn/Extensions.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Extensions.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.saxonica.functions.extfn</FONT>
<BR>
Class Extensions</H2>
<PRE>
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.saxonica.functions.extfn.Extensions</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>Extensions</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
</PRE>

<P>
This class implements functions that are supplied as standard with SAXON,
 but which are not defined in the XSLT or XPath specifications. <p>
 <p/>
 To invoke these functions, use a function call of the form <code>prefix:name()</code> where
 name is the method name, and prefix maps to the URI <code>http://saxon.sf.net/</code>
<P>

<P>
<HR>

<P>

<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/value/DateTimeValue.html" title="class in net.sf.saxon.value">DateTimeValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#adjustToCivilTime(net.sf.saxon.expr.XPathContext, net.sf.saxon.value.DateTimeValue, java.lang.String)">adjustToCivilTime</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                  <A HREF="../../../../net/sf/saxon/value/DateTimeValue.html" title="class in net.sf.saxon.value">DateTimeValue</A>&nbsp;date,
                  <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;region)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adjust a given date/time to a specified civil time zone, taking account of summer time
 (daylight savings time) changes, as obtained from the Java database of changes to daylight
 savings time.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#base64BinaryToOctets(net.sf.saxon.value.Base64BinaryValue)">base64BinaryToOctets</A></B>(<A HREF="../../../../net/sf/saxon/value/Base64BinaryValue.html" title="class in net.sf.saxon.value">Base64BinaryValue</A>&nbsp;in)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a base64Binary value to a sequence of integers representing the octets contained in the value</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#base64BinaryToString(net.sf.saxon.expr.XPathContext, net.sf.saxon.value.Base64BinaryValue, java.lang.String)">base64BinaryToString</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                     <A HREF="../../../../net/sf/saxon/value/Base64BinaryValue.html" title="class in net.sf.saxon.value">Base64BinaryValue</A>&nbsp;in,
                     <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a base64Binary value to a String, assuming a particular encoding</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#columnNumber(net.sf.saxon.om.NodeInfo)">columnNumber</A></B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the column number of the specified node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#columnNumber(net.sf.saxon.expr.XPathContext)">columnNumber</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the column number of the context node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/value/QNameValue.html" title="class in net.sf.saxon.value">QNameValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#currentModeName(net.sf.saxon.expr.XPathContext)">currentModeName</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current mode.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#decimalDivide(java.math.BigDecimal, java.math.BigDecimal, int)">decimalDivide</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>&nbsp;arg1,
              <A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>&nbsp;arg2,
              int&nbsp;scale)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Perform decimal division to a user-specified precision</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om">DocumentInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#discardDocument(net.sf.saxon.expr.XPathContext, net.sf.saxon.om.DocumentInfo)">discardDocument</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                <A HREF="../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om">DocumentInfo</A>&nbsp;doc)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a document from the document pool.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/value/StringValue.html" title="class in net.sf.saxon.value">StringValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#generateId(net.sf.saxon.om.NodeInfo)">generateId</A></B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The function saxon:generate-id() is equivalent to the standard XSLT function generate-id().</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#getConfiguration(net.sf.saxon.expr.XPathContext)">getConfiguration</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the Configuration object</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#getContext(net.sf.saxon.expr.XPathContext)">getContext</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the XPathContext object</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/Controller.html" title="class in net.sf.saxon">Controller</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#getController(net.sf.saxon.expr.XPathContext)">getController</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the Controller object</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#getPseudoAttribute(net.sf.saxon.expr.XPathContext, java.lang.String)">getPseudoAttribute</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c,
                   <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a pseudo-attribute of a processing instruction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#hasSameNodes(net.sf.saxon.om.SequenceIterator, net.sf.saxon.om.SequenceIterator)">hasSameNodes</A></B>(<A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A>&nbsp;p1,
             <A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A>&nbsp;p2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether two node-sets contain the same sequences of nodes, compared by identity</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#hexBinaryToOctets(net.sf.saxon.value.HexBinaryValue)">hexBinaryToOctets</A></B>(<A HREF="../../../../net/sf/saxon/value/HexBinaryValue.html" title="class in net.sf.saxon.value">HexBinaryValue</A>&nbsp;in)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a hexBinary value to a sequence of integers representing the octets contained in the value</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#hexBinaryToString(net.sf.saxon.expr.XPathContext, net.sf.saxon.value.HexBinaryValue, java.lang.String)">hexBinaryToString</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                  <A HREF="../../../../net/sf/saxon/value/HexBinaryValue.html" title="class in net.sf.saxon.value">HexBinaryValue</A>&nbsp;in,
                  <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a hexBinary value to a String, assuming a particular encoding</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/value/BooleanValue.html" title="class in net.sf.saxon.value">BooleanValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#inSummerTime(net.sf.saxon.expr.XPathContext, net.sf.saxon.value.DateTimeValue, java.lang.String)">inSummerTime</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
             <A HREF="../../../../net/sf/saxon/value/DateTimeValue.html" title="class in net.sf.saxon.value">DateTimeValue</A>&nbsp;date,
             <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;region)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether a given date/time is in summer time (daylight savings time)
 in a given region.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#lineNumber(net.sf.saxon.om.NodeInfo)">lineNumber</A></B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the line number of the specified node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#lineNumber(net.sf.saxon.expr.XPathContext)">lineNumber</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the line number of the context node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#namespaceNode(net.sf.saxon.expr.XPathContext, java.lang.String, java.lang.String)">namespaceNode</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
              <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
              <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;uri)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a parentless namespace node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/value/Base64BinaryValue.html" title="class in net.sf.saxon.value">Base64BinaryValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#octetsToBase64Binary(byte[])">octetsToBase64Binary</A></B>(byte[]&nbsp;in)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a sequence of integers in the range 0-255, representing a sequence of octets,
 to a base64Binary value</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/value/HexBinaryValue.html" title="class in net.sf.saxon.value">HexBinaryValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#octetsToHexBinary(byte[])">octetsToHexBinary</A></B>(byte[]&nbsp;in)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a sequence of integers in the range 0-255, representing a sequence of octets,
 to a hexBinary value</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#path(net.sf.saxon.expr.XPathContext)">path</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an XPath expression that identifies the current node</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#path(net.sf.saxon.expr.XPathContext, net.sf.saxon.om.NodeInfo)">path</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
     <A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return an XPath expression that identifies a specified node</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#pauseTracing(net.sf.saxon.expr.XPathContext)">pauseTracing</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Switch tracing off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#printStack(net.sf.saxon.expr.XPathContext)">printStack</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return a string containing a diagnostic print of the current execution stack</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#resumeTracing(net.sf.saxon.expr.XPathContext)">resumeTracing</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resume tracing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/value/Base64BinaryValue.html" title="class in net.sf.saxon.value">Base64BinaryValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#stringToBase64Binary(java.lang.String, java.lang.String)">stringToBase64Binary</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;in,
                     <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a string to a base64Binary value in a given encoding</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/value/HexBinaryValue.html" title="class in net.sf.saxon.value">HexBinaryValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#stringToHexBinary(java.lang.String, java.lang.String)">stringToHexBinary</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;in,
                  <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a string to a hexBinary value in a given encoding</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#stringToUtf8(java.lang.String)">stringToUtf8</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;in)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the UTF-8 encoding of a string</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#systemId(net.sf.saxon.expr.XPathContext)">systemId</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the system identifier of the context node</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/sf/saxon/value/QNameValue.html" title="class in net.sf.saxon.value">QNameValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#typeAnnotation(net.sf.saxon.expr.XPathContext, net.sf.saxon.om.Item)">typeAnnotation</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
               <A HREF="../../../../net/sf/saxon/om/Item.html" title="interface in net.sf.saxon.om">Item</A>&nbsp;item)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine the value of the type annotation of a node or an atomic value</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#unparsedEntities(net.sf.saxon.om.DocumentInfo)">unparsedEntities</A></B>(<A HREF="../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om">DocumentInfo</A>&nbsp;doc)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of the names of the unparsed entities in a document</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/saxonica/functions/extfn/Extensions.html#validCharacter(net.sf.saxon.expr.XPathContext, int)">validCharacter</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c,
               int&nbsp;in)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Test whether a given integer is the codepoint of a valid XML character</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="pauseTracing(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
pauseTracing</H3>
<PRE>
public static void <B>pauseTracing</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</PRE>
<DL>
<DD>Switch tracing off. Only works if tracing was enabled at compile time.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context</DL>
</DD>
</DL>
<HR>

<A NAME="resumeTracing(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
resumeTracing</H3>
<PRE>
public static void <B>resumeTracing</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</PRE>
<DL>
<DD>Resume tracing. Only works if tracing was originally enabled
 but is currently paused.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context</DL>
</DD>
</DL>
<HR>

<A NAME="systemId(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
systemId</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>systemId</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)
                       throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Return the system identifier of the context node
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context
<DT><B>Returns:</B><DD>the system ID
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="generateId(net.sf.saxon.om.NodeInfo)"><!-- --></A><H3>
generateId</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/value/StringValue.html" title="class in net.sf.saxon.value">StringValue</A> <B>generateId</B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&nbsp;node)</PRE>
<DL>
<DD>The function saxon:generate-id() is equivalent to the standard XSLT function generate-id().
 It is provided as an extension function to make it available in non-XSLT environments, for example
 in XQuery.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the node whose identifier is required
<DT><B>Returns:</B><DD>as ASCII alphanumeric string that uniquely identifies this node</DL>
</DD>
</DL>
<HR>

<A NAME="lineNumber(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
lineNumber</H3>
<PRE>
public static int <B>lineNumber</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</PRE>
<DL>
<DD>Return the line number of the context node.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context
<DT><B>Returns:</B><DD>the line number, or -1 if not available</DL>
</DD>
</DL>
<HR>

<A NAME="lineNumber(net.sf.saxon.om.NodeInfo)"><!-- --></A><H3>
lineNumber</H3>
<PRE>
public static int <B>lineNumber</B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&nbsp;node)</PRE>
<DL>
<DD>Return the line number of the specified node.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the node whose line number is required
<DT><B>Returns:</B><DD>the line number of the node. This is only available if line numbering was switched on.</DL>
</DD>
</DL>
<HR>

<A NAME="columnNumber(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
columnNumber</H3>
<PRE>
public static int <B>columnNumber</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</PRE>
<DL>
<DD>Return the column number of the context node. This is only
 available if line numbering has been enabled for the containing tree
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context
<DT><B>Returns:</B><DD>the column number, or -1 if not available</DL>
</DD>
</DL>
<HR>

<A NAME="columnNumber(net.sf.saxon.om.NodeInfo)"><!-- --></A><H3>
columnNumber</H3>
<PRE>
public static int <B>columnNumber</B>(<A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&nbsp;node)</PRE>
<DL>
<DD>Return the column number of the specified node.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the node whose column number is required
<DT><B>Returns:</B><DD>the column number of the node. This is only available if line numbering was switched on.</DL>
</DD>
</DL>
<HR>

<A NAME="discardDocument(net.sf.saxon.expr.XPathContext, net.sf.saxon.om.DocumentInfo)"><!-- --></A><H3>
discardDocument</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om">DocumentInfo</A> <B>discardDocument</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                                           <A HREF="../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om">DocumentInfo</A>&nbsp;doc)</PRE>
<DL>
<DD>Remove a document from the document pool. The effect is that the document becomes eligible for
 garbage collection, allowing memory to be released when processing of the document has finished.
 The downside is that a subsequent call on document() with the same URI causes the document to be
 reloaded and reparsed, and the new nodes will have different node identity from the old.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>context</CODE> - the evaluation context (supplied implicitly by the call mechanism)<DD><CODE>doc</CODE> - the document to be released from the document pool
<DT><B>Returns:</B><DD>the document that was released. This allows a call such as
         select="saxon:discard-document(document('a.xml'))"</DL>
</DD>
</DL>
<HR>

<A NAME="hasSameNodes(net.sf.saxon.om.SequenceIterator, net.sf.saxon.om.SequenceIterator)"><!-- --></A><H3>
hasSameNodes</H3>
<PRE>
public static boolean <B>hasSameNodes</B>(<A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A>&nbsp;p1,
                                   <A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A>&nbsp;p2)
                            throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Determine whether two node-sets contain the same sequences of nodes, compared by identity
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p1</CODE> - The first node-set. The iterator must be correctly ordered.<DD><CODE>p2</CODE> - The second node-set. The iterator must be correctly ordered.
<DT><B>Returns:</B><DD>true if p1 and p2 contain the same set of nodes
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="path(net.sf.saxon.expr.XPathContext, net.sf.saxon.om.NodeInfo)"><!-- --></A><H3>
path</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>path</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                          <A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A>&nbsp;node)
                   throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Return an XPath expression that identifies a specified node
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the node whose path is required
<DT><B>Returns:</B><DD>a path expression giving a path from the root of the tree to the specified node
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="path(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
path</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>path</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)
                   throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Return an XPath expression that identifies the current node
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context
<DT><B>Returns:</B><DD>a path expression giving a path from the root of the tree to the context node
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="typeAnnotation(net.sf.saxon.expr.XPathContext, net.sf.saxon.om.Item)"><!-- --></A><H3>
typeAnnotation</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/value/QNameValue.html" title="class in net.sf.saxon.value">QNameValue</A> <B>typeAnnotation</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                                        <A HREF="../../../../net/sf/saxon/om/Item.html" title="interface in net.sf.saxon.om">Item</A>&nbsp;item)</PRE>
<DL>
<DD>Determine the value of the type annotation of a node or an atomic value
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>context</CODE> - the XPath dynamic context<DD><CODE>item</CODE> - the node or atomic value whose type annotation is required
<DT><B>Returns:</B><DD>the type annotation or type label as a QName; null in the case of text nodes,
 comments, processing instructions</DL>
</DD>
</DL>
<HR>

<A NAME="getContext(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
getContext</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A> <B>getContext</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</PRE>
<DL>
<DD>Return the XPathContext object
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the context object
<DT><B>Returns:</B><DD>the context object (this looks crazy, but it works given that the function is called from an XPath
         environment where the context is supplied as an implicit argument)</DL>
</DD>
</DL>
<HR>

<A NAME="getController(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
getController</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/Controller.html" title="class in net.sf.saxon">Controller</A> <B>getController</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</PRE>
<DL>
<DD>Return the Controller object
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context
<DT><B>Returns:</B><DD>the Controller</DL>
</DD>
</DL>
<HR>

<A NAME="getConfiguration(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
getConfiguration</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A> <B>getConfiguration</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</PRE>
<DL>
<DD>Return the Configuration object
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context
<DT><B>Returns:</B><DD>the Saxon configuration</DL>
</DD>
</DL>
<HR>

<A NAME="printStack(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
printStack</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>printStack</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c)</PRE>
<DL>
<DD>Return a string containing a diagnostic print of the current execution stack
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context
<DT><B>Returns:</B><DD>a diagnostic stack print</DL>
</DD>
</DL>
<HR>

<A NAME="getPseudoAttribute(net.sf.saxon.expr.XPathContext, java.lang.String)"><!-- --></A><H3>
getPseudoAttribute</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getPseudoAttribute</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c,
                                        <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)
                                 throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Get a pseudo-attribute of a processing instruction. Return an empty string
 if the pseudo-attribute is not present.
 Character references and built-in entity references are expanded
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context. The context item should be a processing instruction,
             though it doesn't matter if it isn't: the function will look at the string-value of the context item
             whatever it is.<DD><CODE>name</CODE> - the name of the required pseudo-attribute
<DT><B>Returns:</B><DD>the value of the pseudo-attribute if it is present
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="decimalDivide(java.math.BigDecimal, java.math.BigDecimal, int)"><!-- --></A><H3>
decimalDivide</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>decimalDivide</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>&nbsp;arg1,
                                       <A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A>&nbsp;arg2,
                                       int&nbsp;scale)</PRE>
<DL>
<DD>Perform decimal division to a user-specified precision
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg1</CODE> - the numerator<DD><CODE>arg2</CODE> - the denominator<DD><CODE>scale</CODE> - the required number of digits in the result of the division
<DT><B>Returns:</B><DD>the result of the division</DL>
</DD>
</DL>
<HR>

<A NAME="stringToUtf8(java.lang.String)"><!-- --></A><H3>
stringToUtf8</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> <B>stringToUtf8</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;in)</PRE>
<DL>
<DD>Get the UTF-8 encoding of a string
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - the supplied string
<DT><B>Returns:</B><DD>a sequence of integers, each in the range 0-255, representing the octets of the UTF-8
         encoding of the given string</DL>
</DD>
</DL>
<HR>

<A NAME="octetsToBase64Binary(byte[])"><!-- --></A><H3>
octetsToBase64Binary</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/value/Base64BinaryValue.html" title="class in net.sf.saxon.value">Base64BinaryValue</A> <B>octetsToBase64Binary</B>(byte[]&nbsp;in)</PRE>
<DL>
<DD>Convert a sequence of integers in the range 0-255, representing a sequence of octets,
 to a base64Binary value
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - the input array of bytes (octets)
<DT><B>Returns:</B><DD>the corresponding base64Binary value</DL>
</DD>
</DL>
<HR>

<A NAME="octetsToHexBinary(byte[])"><!-- --></A><H3>
octetsToHexBinary</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/value/HexBinaryValue.html" title="class in net.sf.saxon.value">HexBinaryValue</A> <B>octetsToHexBinary</B>(byte[]&nbsp;in)</PRE>
<DL>
<DD>Convert a sequence of integers in the range 0-255, representing a sequence of octets,
 to a hexBinary value
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - the input array of bytes (octets)
<DT><B>Returns:</B><DD>the corresponding HexBinary value</DL>
</DD>
</DL>
<HR>

<A NAME="base64BinaryToOctets(net.sf.saxon.value.Base64BinaryValue)"><!-- --></A><H3>
base64BinaryToOctets</H3>
<PRE>
public static byte[] <B>base64BinaryToOctets</B>(<A HREF="../../../../net/sf/saxon/value/Base64BinaryValue.html" title="class in net.sf.saxon.value">Base64BinaryValue</A>&nbsp;in)</PRE>
<DL>
<DD>Convert a base64Binary value to a sequence of integers representing the octets contained in the value
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - the supplied base64Binary value
<DT><B>Returns:</B><DD>the corresponding array of integers, representing the octet values</DL>
</DD>
</DL>
<HR>

<A NAME="hexBinaryToOctets(net.sf.saxon.value.HexBinaryValue)"><!-- --></A><H3>
hexBinaryToOctets</H3>
<PRE>
public static byte[] <B>hexBinaryToOctets</B>(<A HREF="../../../../net/sf/saxon/value/HexBinaryValue.html" title="class in net.sf.saxon.value">HexBinaryValue</A>&nbsp;in)</PRE>
<DL>
<DD>Convert a hexBinary value to a sequence of integers representing the octets contained in the value
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - the input hexBinary value
<DT><B>Returns:</B><DD>the corresponding array of integers, representing the octet values</DL>
</DD>
</DL>
<HR>

<A NAME="base64BinaryToString(net.sf.saxon.expr.XPathContext, net.sf.saxon.value.Base64BinaryValue, java.lang.String)"><!-- --></A><H3>
base64BinaryToString</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>base64BinaryToString</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                                          <A HREF="../../../../net/sf/saxon/value/Base64BinaryValue.html" title="class in net.sf.saxon.value">Base64BinaryValue</A>&nbsp;in,
                                          <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)
                                   throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>Convert a base64Binary value to a String, assuming a particular encoding
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>context</CODE> - the XPath dynamic context<DD><CODE>in</CODE> - the supplied base64Binary value<DD><CODE>encoding</CODE> - the character encoding
<DT><B>Returns:</B><DD>the string that results from treating the base64binary value as a sequence of octets
         that encode a string in the given encoding
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="stringToBase64Binary(java.lang.String, java.lang.String)"><!-- --></A><H3>
stringToBase64Binary</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/value/Base64BinaryValue.html" title="class in net.sf.saxon.value">Base64BinaryValue</A> <B>stringToBase64Binary</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;in,
                                                     <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)
                                              throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Convert a string to a base64Binary value in a given encoding
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - the input string<DD><CODE>encoding</CODE> - the desired encoding
<DT><B>Returns:</B><DD>the base64Binary value that results from encoding the string as a sequence of octets in the
         given encoding.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="hexBinaryToString(net.sf.saxon.expr.XPathContext, net.sf.saxon.value.HexBinaryValue, java.lang.String)"><!-- --></A><H3>
hexBinaryToString</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>hexBinaryToString</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                                       <A HREF="../../../../net/sf/saxon/value/HexBinaryValue.html" title="class in net.sf.saxon.value">HexBinaryValue</A>&nbsp;in,
                                       <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)
                                throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>Convert a hexBinary value to a String, assuming a particular encoding
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>context</CODE> - the XPath dynamic context<DD><CODE>in</CODE> - the supplied hexBinary value<DD><CODE>encoding</CODE> - the character encoding
<DT><B>Returns:</B><DD>the string that results from treating the hexBinary value as a sequence of octets
         that encode a string in the given encoding
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="stringToHexBinary(java.lang.String, java.lang.String)"><!-- --></A><H3>
stringToHexBinary</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/value/HexBinaryValue.html" title="class in net.sf.saxon.value">HexBinaryValue</A> <B>stringToHexBinary</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;in,
                                               <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)
                                        throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
<DL>
<DD>Convert a string to a hexBinary value in a given encoding
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>in</CODE> - the input string<DD><CODE>encoding</CODE> - the desired encoding
<DT><B>Returns:</B><DD>the hexBinary value that results from encoding the string as a sequence of octets in the
         given encoding.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="validCharacter(net.sf.saxon.expr.XPathContext, int)"><!-- --></A><H3>
validCharacter</H3>
<PRE>
public static boolean <B>validCharacter</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;c,
                                     int&nbsp;in)</PRE>
<DL>
<DD>Test whether a given integer is the codepoint of a valid XML character
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the XPath dynamic context<DD><CODE>in</CODE> - the character to be tested
<DT><B>Returns:</B><DD>true if and only if the character is valid in (the relevant version of) XML</DL>
</DD>
</DL>
<HR>

<A NAME="namespaceNode(net.sf.saxon.expr.XPathContext, java.lang.String, java.lang.String)"><!-- --></A><H3>
namespaceNode</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om">NodeInfo</A> <B>namespaceNode</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                                     <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
                                     <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;uri)
                              throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Create a parentless namespace node. This function is useful in XQuery when namespaces need to be created
 dynamically. The effect is the same as that of the xsl:namespace instruction in XSLT.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>context</CODE> - the dynamic evaluation context<DD><CODE>prefix</CODE> - the name of the namespace node<DD><CODE>uri</CODE> - the string value of the namespace node
<DT><B>Returns:</B><DD>the newly constructed namespace node
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="unparsedEntities(net.sf.saxon.om.DocumentInfo)"><!-- --></A><H3>
unparsedEntities</H3>
<PRE>
public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>unparsedEntities</B>(<A HREF="../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om">DocumentInfo</A>&nbsp;doc)
                                 throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Get a list of the names of the unparsed entities in a document
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - the document node of the document whose unparsed entities are required
<DT><B>Returns:</B><DD>an iterator over a sequence of strings containing the names of the unparsed entities
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="inSummerTime(net.sf.saxon.expr.XPathContext, net.sf.saxon.value.DateTimeValue, java.lang.String)"><!-- --></A><H3>
inSummerTime</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/value/BooleanValue.html" title="class in net.sf.saxon.value">BooleanValue</A> <B>inSummerTime</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                                        <A HREF="../../../../net/sf/saxon/value/DateTimeValue.html" title="class in net.sf.saxon.value">DateTimeValue</A>&nbsp;date,
                                        <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;region)</PRE>
<DL>
<DD>Determine whether a given date/time is in summer time (daylight savings time)
 in a given region. This relies on the Java database of changes to daylight savings time.
 Since summer time changes are set by civil authorities the information is not necessarily
 reliable when applied to dates in the future.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>context</CODE> - used to get the implicit timezone in the event that the supplied date/time
 has no timezone<DD><CODE>date</CODE> - the date/time in question. This should preferably include a timezone offset.
 If it does not, the implicit timezone from the dynamic context is used.<DD><CODE>region</CODE> - either the two-letter ISO country code, or an Olsen timezone name such as
 "America/New_York" or "Europe/Lisbon". If the country code denotes a country spanning several
 timezones, such as the US, then one of them is chosen arbitrarily.
<DT><B>Returns:</B><DD>true if the date/time is known to be in summer time in the relevant country;
 false if it is known not to be in summer time; null if an empty sequence was supplied
 for the dateTime argument, or if no information is available.</DL>
</DD>
</DL>
<HR>

<A NAME="adjustToCivilTime(net.sf.saxon.expr.XPathContext, net.sf.saxon.value.DateTimeValue, java.lang.String)"><!-- --></A><H3>
adjustToCivilTime</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/value/DateTimeValue.html" title="class in net.sf.saxon.value">DateTimeValue</A> <B>adjustToCivilTime</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context,
                                              <A HREF="../../../../net/sf/saxon/value/DateTimeValue.html" title="class in net.sf.saxon.value">DateTimeValue</A>&nbsp;date,
                                              <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;region)</PRE>
<DL>
<DD>Adjust a given date/time to a specified civil time zone, taking account of summer time
 (daylight savings time) changes, as obtained from the Java database of changes to daylight
 savings time.
 Since summer time changes are set by civil authorities the information is not necessarily
 reliable when applied to dates in the future.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>context</CODE> - used to get the implicit timezone in the event that the supplied date/time
 has no timezone<DD><CODE>date</CODE> - the date/time in question. This should preferably include a timezone offset.
 If it does not, the implicit timezone from the dynamic context is used.<DD><CODE>region</CODE> - An Olsen timezone name such as "America/New_York" or "Europe/Lisbon".
<DT><B>Returns:</B><DD>The date/time adjusted to the timezone offset applicable to the place denoted by the
 Olsen timezone name. For example:

 <p><code>adjust-to-civil-time(xs:dateTime('2008-01-10T12:00:00Z', 'America/New_York')</code>
 returns <code>2008-01-10T07:00:00-05:00</code></p>

 <p><code>adjust-to-civil-time(xs:dateTime('2008-07-10T12:00:00Z', 'America/New_York')</code>
 returns <code>2008-07-10T08:00:00-04:00</code></p></DL>
</DD>
</DL>
<HR>

<A NAME="currentModeName(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
currentModeName</H3>
<PRE>
public static <A HREF="../../../../net/sf/saxon/value/QNameValue.html" title="class in net.sf.saxon.value">QNameValue</A> <B>currentModeName</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;context)</PRE>
<DL>
<DD>Get the current mode. Returms the name of the current mode if there is one.
 Returns null (delivered as an empty sequence) if there is no current mode or if the
 current mode is the unnamed (default) mode.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/saxonica/functions/extfn/ExpressionFn.html" title="class in com.saxonica.functions.extfn"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/saxonica/functions/extfn/ExtraFunctionLibrary.html" title="class in com.saxonica.functions.extfn"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/saxonica/functions/extfn/Extensions.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Extensions.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.
</BODY>
</HTML>