XQuery.ToXQueryX Method (Uri, string, XQueryVersion, BoundarySpace, XmlVersion)XQuery.ToXQueryX Method (Uri, String, XQueryVersion, BoundarySpace, XmlVersion)XQuery::ToXQueryX Method (Uri^, String^, XQueryVersion, BoundarySpace, XmlVersion)

Returns an IXPathNavigableIXPathNavigableIXPathNavigable over the specified XQuery converted to the XML Syntax for XQuery 1.0 (XQueryX).

Syntax

Public Shared Function ToXQueryX( _
    source As Uri, _
    query As String, _
    xqueryVersion As XQueryVersion, _
    boundarySpace As BoundarySpace, _
    xmlVersion As XmlVersion _
) As System.Xml.XPath.IXPathNavigable
public static System.Xml.XPath.IXPathNavigable ToXQueryX(
    Uri source,
    string query,
    XQueryVersion xqueryVersion,
    BoundarySpace boundarySpace,
    XmlVersion xmlVersion
)
public:
static System.Xml.XPath::IXPathNavigable^ ToXQueryX(
    Uri^ source, 
    String^ query, 
    XQueryVersion xqueryVersion, 
    BoundarySpace boundarySpace, 
    XmlVersion xmlVersion
)
 

Parameters

source

Type: System.UriSystem.UriSystem::Uri^

The base URI of the query.

query

Type: System.StringSystem.StringSystem::String^

The XQuery program to convert to XML syntax.

xqueryVersion

Type: XmlPrime.XQueryVersionXmlPrime.XQueryVersionXmlPrime::XQueryVersion

The XQuery version.

boundarySpace

Type: XmlPrime.BoundarySpaceXmlPrime.BoundarySpaceXmlPrime::BoundarySpace

The default boundary space policy used in the conversion.

xmlVersion

Type: XmlPrime.XmlVersionXmlPrime.XmlVersionXmlPrime::XmlVersion

The XML version used by XQuery.

Exceptions

ExceptionCondition
XdmExceptionXdmExceptionXdmExceptionAn error occurred parsing the query.