public override void processSpec(string specStr) { if (specStr.Equals("XT10")) { spec = Spec.XT10; } else if (specStr.Equals("XT20")) { spec = Spec.XT20; } else if (specStr.Equals("XT30")) { spec = Spec.XT30; } else { throw new Exception("Unknown spec " + specStr); } resultsDoc = new Xslt30ResultsDocument(this.resultsDir, Spec.XT30); // No action: always use XSLT }
public void writeResultFilePreamble(Processor processor, XdmNode catalog) { resultsDoc = new Xslt30ResultsDocument(this.resultsDir, Spec.XT30); //super.writeResultFilePreamble(processor, catalog); }
public override void processSpec(string specStr) { resultsDoc = new Xslt30ResultsDocument(this.resultsDir, Spec.XT30); // No action: always use XSLT }