Hi all, Simple patch so that the XHTML provider will honor the input filename given to it. This is really simple so I'll commit it in a day or two unless I hear complaints. (Except for the extra ChangeLog entries.)
Peter -- Peter Williams [EMAIL PROTECTED] "[Ninjas] are cool; and by cool, I mean totally sweet." -- REAL Ultimate Power
Index: browser/xhtml-provider.cs =================================================================== RCS file: /cvs/public/monodoc/browser/xhtml-provider.cs,v retrieving revision 1.20 diff -u -r1.20 xhtml-provider.cs --- browser/xhtml-provider.cs 29 May 2004 17:01:40 -0000 1.20 +++ browser/xhtml-provider.cs 16 Jul 2004 23:17:00 -0000 @@ -35,7 +35,7 @@ public override void PopulateTree (Tree tree) { - new SimpleHandbookTOCParser(tree); + new SimpleHandbookTOCParser(tree, tocFile); } @@ -334,10 +334,10 @@ public static string spaces = ""; - public SimpleHandbookTOCParser(Tree monodocTree) + public SimpleHandbookTOCParser(Tree monodocTree, string tocFile) { XmlDocument doc = new XmlDocument(); - doc.Load("Documentation.xml"); + doc.Load(tocFile); XmlNodeList nodeList = doc.GetElementsByTagName("body"); XmlNodeList bodylist = nodeList[0].ChildNodes[1].ChildNodes;