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

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

Syntax

Public Shared Function ToXQueryX( _
    nameTable As System.Xml.XmlNameTable, _
    query As String, _
    version As XQueryVersion, _
    boundarySpace As BoundarySpace _
) As System.Xml.XPath.IXPathNavigable
public static System.Xml.XPath.IXPathNavigable ToXQueryX(
    System.Xml.XmlNameTable nameTable,
    string query,
    XQueryVersion version,
    BoundarySpace boundarySpace
)
public:
static System.Xml.XPath::IXPathNavigable^ ToXQueryX(
    System.Xml::XmlNameTable^ nameTable, 
    String^ query, 
    XQueryVersion version, 
    BoundarySpace boundarySpace
)
 

Parameters

nameTable

Type: System.Xml.XmlNameTableSystem.Xml.XmlNameTableSystem.Xml::XmlNameTable^

The name table used for the converted document.

query

Type: System.StringSystem.StringSystem::String^

The XQuery program to convert to XML syntax.

version

Type: XmlPrime.XQueryVersionXmlPrime.XQueryVersionXmlPrime::XQueryVersion

The version.

boundarySpace

Type: XmlPrime.BoundarySpaceXmlPrime.BoundarySpaceXmlPrime::BoundarySpace

The default boundary space policy used in the conversion.

Exceptions

ExceptionCondition
XdmExceptionXdmExceptionXdmExceptionAn error occurred parsing the query.