Hi, im trying to use the Xpath function "reverse" with an XmlTextReader.
Im not sure if i need to add a namespace to reference this function or
what, if so whats the address of the namespace. Can anyone give me an
idea where i am going wrong here?
So far....
Dim strXmlFeedUrl As String = server.mappath("test.xml")
Dim reader As XmlTextReader = New XmlTextReader(strXmlFeedUrl)
Dim xmlDoc = New XmlDocument
xmlDoc.Load(reader)
Dim urlArticleNodes As XmlNodeList =
xmlDoc.SelectNodes("reverse(/Articles/Article)")
Im getting the error...
"Namespace Manager or XsltContext needed. This query has a prefix,
variable, or user-defined function."
Thanks in advance.