Logo Search packages:      
Sourcecode: ndoc version File versions  Download package

void NDoc::Documenter::LinearHtml::LinearHtmlDocumenter::MakeHtmlForTypeUsingXslt ( XPathNavigator  nav,
XmlTextWriter  xtw,
string  namespaceName 
) [inline, private]

Use Xslt transform to document this type.

Parameters:
nav 
xtw 
namespaceName 

Definition at line 1215 of file LinearHtmlDocumenter.cs.

            {
                  //string nodeName = nav.GetAttribute("name", "");
                  //string nodeType = nav.LocalName;
                  string typeId = nav.GetAttribute("id", "");

                  // create transform if it hasn't already been created
                  if (typeTransform == null)
                  {
                        string fileName = "linearHtml.xslt";
                        //string transformPath = Path.Combine(Path.Combine(resourceDirectory, "xslt"), filename);
                        string transformPath = Path.Combine(@"C:\VSProjects\Util\ndoc\src\Documenter\LinearHtml\xslt", 
                              fileName);

                        typeTransform = new XslTransform();
                        typeTransform.Load(transformPath);
                  }

                  // execute the transform
                  XsltArgumentList arguments = new XsltArgumentList();
                  arguments.AddParam("namespace", String.Empty, namespaceName);
                  arguments.AddParam("type-id", String.Empty, typeId);
                  arguments.AddParam("includeHierarchy", String.Empty, MyConfig.IncludeHierarchy);
                  typeTransform.Transform(nav, arguments, xtw);
            }


Generated by  Doxygen 1.6.0   Back to index