public static void SyncServerNode(string browserStateString, WFnode ndToSync) { string nodeName; XmlSchemaSet xset; XmlDocument rdoc; parse(browserStateString, out rdoc, out xset, out nodeName); ndToSync.ModifyNode(xset, rdoc, nodeName); }
public static WFnode CreateServerNode(string browserStateString) { string nodeName; XmlSchemaSet xset; XmlDocument rdoc; parse(browserStateString, out rdoc, out xset, out nodeName); var node = new WFnode(nodeName); node.ModifyNode(xset, rdoc, nodeName); return(node); }
public WFnode testNode2() { XmlDocument d = new XmlDocument(); d.LoadXml(Core.TestResources.NodeWithComplexTypeRendering2.Replace("Nodo1", "Nodo2")); XmlSchemaSet ss = new XmlSchemaSet(); ss.Add(Utils.ReadSchema(Core.TestResources.NodeWithComplexTypeSchema2.Replace("Nodo1", "Nodo2").Replace("StringBox0", "StringBox7"))); var nd = new WFnode("pippO"); nd.ModifyNode(ss, d, "Nodo2"); return(nd); }