예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
        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);
        }