Method Tools.AutoDoc.ProcessXML.extractXML()
- Method extractXML
 stringextractXML(stringfilename,int|voidpikeMode,string|voidtype,string|voidname,array(string)|voidparentModules,void|.Flagsflags)- Description
 This function extracts documentation from a file. The parameters
type,name, andparentModulesare used only whenpikeMode!= 0 and no C-style doc comments are present.- Parameter 
filename The file to extract from.
- Parameter 
pikeMode Non-zero if it is a Pike file. If the file contains style doc comments, C-mode is used despite pikeMode != 0.
- Parameter 
type "class","module"or"namespace".- Parameter 
name The name of the class/module/namespace.
- Parameter 
parentModules The ancestors of the class/module/namespace.
- Parameter 
flags Flags adjusting the extractor behaviour. Defaults to FLAG_NORMAL.
- Example
 // To extract doc for Foo.Bar.Ippa: string xml = extractXML("lib/modules/Foo.pmod/Bar.pmod/Ippa.pike", 1, "class", "Ippa", ({ "Foo", "Bar" }));