5 using System.Diagnostics;
6 using System.Collections.Generic;
9 using Lucene.Net.Index;
17 public partial class RootTree
19 static IDocGenerator<string> rawGenerator = new RawGenerator ();
20 static HtmlGenerator htmlGenerator = new HtmlGenerator (null);
22 [Obsolete ("Use RawGenerator directly")]
23 public XmlDocument GetHelpXml (string id)
25 var doc = new XmlDocument ();
26 doc.LoadXml (RenderUrl (id, rawGenerator));
30 [Obsolete ("Use the RenderUrl variant accepting a generator")]
31 public string RenderUrl (string url, out Node n)
33 return RenderUrl (url, htmlGenerator, out n);