Unable to read xml with XPath

laurispx

New Member
I need to parse content.xml file in XMind package.
File looks like this \[code\]<xmap-content xmlns="urn:xmind:xmap:xmlns:content:2.0" xmlns:fo="http://www.w3.org/1999/XSL /Format" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0"> <sheet id="sdfasdfsdf"> <title> Sheet1 </title> </sheet> <sheet id="fgasdfgasr"> <title> Sheet2 </title> </sheet><xmap-content>\[/code\]I need to get list of title of all sheets. I am using \[code\]XPathExpression expr = navigator.Compile("//sheet");\[/code\]
but i guess its not working
what to do. any suggestion or code will do.
thnx in advance.
 
Back
Top