XQuery.ToXQueryX Method (string, XQueryVersion, BoundarySpace)XQuery.ToXQueryX Method (String, XQueryVersion, BoundarySpace)XQuery::ToXQueryX Method (String^, XQueryVersion, BoundarySpace)
- XmlPrime 2.7
Returns an IXPathNavigableIXPathNavigableIXPathNavigable over the specified XQuery converted to
the XML Syntax for XQuery 1.0 (XQueryX).
Syntax
Public Shared Function ToXQueryX( _ query As String, _ version As XQueryVersion, _ boundarySpace As BoundarySpace _ ) As System.Xml.XPath.IXPathNavigable
public static System.Xml.XPath.IXPathNavigable ToXQueryX( string query, XQueryVersion version, BoundarySpace boundarySpace )
public: static System.Xml.XPath::IXPathNavigable^ ToXQueryX( String^ query, XQueryVersion version, BoundarySpace boundarySpace )
Parameters
- query
Type: System.StringSystem.StringSystem::String^
The XQuery program to convert to XML syntax.
- version
Type: XmlPrime.XQueryVersionXmlPrime.XQueryVersionXmlPrime::XQueryVersion
The version of the XQuery langauge.
- boundarySpace
Type: XmlPrime.BoundarySpaceXmlPrime.BoundarySpaceXmlPrime::BoundarySpace
The default boundary space policy used in the conversion.
Return Value
Type: System.Xml.XPath.IXPathNavigableSystem.Xml.XPath.IXPathNavigableSystem.Xml.XPath::IXPathNavigable^
An IXPathNavigableIXPathNavigableIXPathNavigable over the specified XQuery.
Exceptions
Exception | Condition |
XdmExceptionXdmExceptionXdmException | An error occurred parsing the query. |