Example #1
0
        public static TwoTransparent2 Create()
        {
            TwoTransparent2 ttxf = new TwoTransparent2();
            XmlDocument     doc  = new XmlDocument();

            ttxf._frag  = doc.CreateDocumentFragment();
            ttxf._frag2 = doc.CreateDocumentFragment();
            ttxf._frag2.AppendChild(doc.CreateElement("sub2")).InnerText = "3";
            ttxf._frag2.AppendChild(doc.CreateElement("sub2")).InnerText = "4";
            return(ttxf);
        }
		public static TwoTransparent2 Create()
		{
			TwoTransparent2 ttxf = new TwoTransparent2();
			XmlDocument doc = new XmlDocument();
			ttxf._frag = doc.CreateDocumentFragment();
			ttxf._frag2 = doc.CreateDocumentFragment();
			ttxf._frag2.AppendChild( doc.CreateElement( "sub2" ) ).InnerText = "3";
			ttxf._frag2.AppendChild( doc.CreateElement( "sub2" ) ).InnerText = "4";
			return ttxf;
		}