Read .html#XXX and display it on a webbrowser

Lazkopat

New Member
I'm readind html files in local, but these ".html" files are divided internally that have the forme "file.html#xxxxx".I'm displaying these files on a webbrowser, but it dont accept the path given because of the "#"I'm reading an epub book, its chapters are divided internally by the "#", after parse i get for each chapter it's own partition and this partition is indicated by #.this is an exemple of division\[code\]<navMap> <navPoint id="np-1" playOrder="1"> <navLabel> <text>YOUR NATIONAL PARKS BY ENOS A. MILLS</text> </navLabel> <content src="http://stackoverflow.com/questions/15534254/@public@vhost@g@gutenberg@html@files@42248@[email protected]#pgepubid00000"/> <navPoint id="np-2" playOrder="2"> <navLabel> <text>PREFACE</text> </navLabel> <content src="http://stackoverflow.com/questions/15534254/@public@vhost@g@gutenberg@html@files@42248@[email protected]#pgepubid00001"/> </navPoint> <navPoint id="np-3" playOrder="3"> <navLabel> <text>CONTENTS</text> </navLabel> <content src="http://stackoverflow.com/questions/15534254/@public@vhost@g@gutenberg@html@files@42248@[email protected]#pgepubid00002"/> </navPoint></navMap>\[/code\]and to display:\[code\] navPoint = toc.NavMap[0]; string srcContent = navP.Src; webBrowser1.Source= path+srcContent\[/code\]
 
Back
Top