New feature! Upgrade and increase expert visibility of your issues with Priority Questions.
XmlDocument^ doc = gcnew XmlDocument; doc->Load(fileNamePath); XmlNode^ mynode; XmlNode^ root = doc->DocumentElement; // i checked no problems with xml file path or the root document up to here ! String^ MyXPathQuery = "descendant::LastCue[Function='Default']"; mynode = root->SelectSingleNode(MyXPathQuery); //My XML file (fileNamePath) contents are the following: <?xml version="1.0" encoding="us-ascii" standalone="yes"?><LastCue><Function>Default</Function><Time>52592</Time></LastCue>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.