Compute the count for the XPath query.
Namespace: XmlsqAssembly: diXmlsqNet (in diXmlsqNet.dll) Version: 1.0.1.29962 (1.0.1.0)
Syntaxpublic static int Count(
string xmlFile,
string query
)
Public Shared Function Count (
xmlFile As String,
query As String
) As Integer
Parameters
- xmlFile String
- Name of XML file or string containing XML data.
- query String
- XPath 1.0 expression. This must evaluate to a node or node set.
Return Value
Int32The integer value of
count(query).
Exceptions
See Also