Beispiel #1
0
 static void interpret(XmlSchemaSet schemas, XElement trafo, FxtLog log, List<IFxtTransformation> trafos) 
 {
     foreach (var child in trafo.Elements())
     {
         if (child.Name == FxtInterpreter.FxtNs + "Deanonymize"
             && child.Elements().Count()==0)
         {
             bool strict = (bool?)child.Attribute("strict") ?? false;
             foreach (var x in schemas.Deanonymize(new FxtScope(),strict,log))
                 trafos.Add(x);
                 continue;
         }
         throw FxtInterpreter.ex;
     }
 }