XQuery.ToXQueryX Method (string, XQueryVersion, BoundarySpace, XmlVersion)XQuery.ToXQueryX Method (String, XQueryVersion, BoundarySpace, XmlVersion)XQuery::ToXQueryX Method (String^, XQueryVersion, BoundarySpace, XmlVersion)
- XmlPrime 2.8
- Other Versions ▼
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, _ xqueryVersion As XQueryVersion, _ boundarySpace As BoundarySpace, _ xmlVersion As XmlVersion _ ) As System.Xml.XPath.IXPathNavigable
public static System.Xml.XPath.IXPathNavigable ToXQueryX( string query, XQueryVersion xqueryVersion, BoundarySpace boundarySpace, XmlVersion xmlVersion )
public: static System.Xml.XPath::IXPathNavigable^ ToXQueryX( String^ query, XQueryVersion xqueryVersion, BoundarySpace boundarySpace, XmlVersion xmlVersion )
Parameters
- 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.
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. |