]> git.llucax.com Git - z.facultad/75.10/miklolife.git/commitdiff
- Agregado de .glade al proyecto VS
authorGuillermo Rugilo <guillerugilo@yahoo.com.ar>
Wed, 6 Jul 2005 15:52:07 +0000 (15:52 +0000)
committerGuillermo Rugilo <guillerugilo@yahoo.com.ar>
Wed, 6 Jul 2005 15:52:07 +0000 (15:52 +0000)
- Validacion del xml contra schema funcionando OK

demo/src/Reportes/InfoPrestacionesReport.cs
demo/src/VSProject.csproj

index 277bef07ef211b4b577c5c6678ad7e18a4302305..a127f1c34ea28d5295fb9b3f5d929163c688342d 100644 (file)
@@ -148,31 +148,12 @@ namespace Reportes
 \r
                        XmlValidatingReader valReader = new XmlValidatingReader( xmlDoc.OuterXml, XmlNodeType.Element, pc );\r
 \r
+                       valReader.Schemas.Add( string.Empty, this.XsdPathNombre );\r
                        valReader.ValidationType = ValidationType.Schema;\r
-                       //XmlSchemaCollection schemaColl = new XmlSchemaCollection();\r
-                       //schemaColl.Add( null, this.XsdPathNombre );\r
-                       \r
-                       valReader.Schemas.Add( "", this.XsdPathNombre ); // schemaColl );\r
 \r
                        valReader.ValidationEventHandler += new ValidationEventHandler(valReader_ValidationEventHandler);\r
 \r
-                       //while ( valReader.Read() );\r
-\r
-                       while (valReader.Read())\r
-                       {\r
-                               if (valReader.IsStartElement())\r
-                               {\r
-                                       if (valReader.Prefix==String.Empty)\r
-                                               Console.WriteLine("<{0}>", valReader.LocalName);\r
-                                       else\r
-                                       {\r
-                                               Console.Write("<{0}:{1}>", valReader.Prefix, valReader.LocalName);\r
-                                               Console.WriteLine(" The namespace URI is " +\r
-                                                       valReader.NamespaceURI);\r
-                                       }\r
-                               }\r
-                       }\r
-\r
+                       while (valReader.Read()) { }\r
 \r
                        valReader.Close();\r
 \r
index 5c6fe98b2fbadb1977c995017da461c1a2dab183..53f59f0f4e77b6c1239515ced85ad64e59f60072 100644 (file)
                     RelPath = "abm_generico.glade"\r
                     BuildAction = "EmbeddedResource"\r
                 />\r
+                <File\r
+                    RelPath = "actualizar_autorizacion_manual.glade"\r
+                    BuildAction = "EmbeddedResource"\r
+                />\r
                 <File\r
                     RelPath = "agregar_afiliado.glade"\r
                     BuildAction = "EmbeddedResource"\r
                 />\r
+                <File\r
+                    RelPath = "buscar_afiliado.glade"\r
+                    BuildAction = "EmbeddedResource"\r
+                />\r
+                <File\r
+                    RelPath = "buscar_prestacion.glade"\r
+                    BuildAction = "EmbeddedResource"\r
+                />\r
                 <File\r
                     RelPath = "consultar_afiliado.glade"\r
                     BuildAction = "EmbeddedResource"\r
                 />\r
+                <File\r
+                    RelPath = "consultar_autorizacion.glade"\r
+                    BuildAction = "EmbeddedResource"\r
+                />\r
                 <File\r
                     RelPath = "emitir_hoja_de_ruta.glade"\r
                     BuildAction = "EmbeddedResource"\r
                     SubType = "Code"\r
                     BuildAction = "EmbeddedResource"\r
                 />\r
+                <File\r
+                    RelPath = "mantener_planes.glade"\r
+                    BuildAction = "EmbeddedResource"\r
+                />\r
+                <File\r
+                    RelPath = "mantener_prestaciones.glade"\r
+                    BuildAction = "EmbeddedResource"\r
+                />\r
+                <File\r
+                    RelPath = "mantener_prestadores.glade"\r
+                    BuildAction = "EmbeddedResource"\r
+                />\r
                 <File\r
                     RelPath = "osocial.exe.config"\r
                     BuildAction = "Content"\r
                 />\r
+                <File\r
+                    RelPath = "pedido_autorizacion_manual.glade"\r
+                    BuildAction = "EmbeddedResource"\r
+                />\r
                 <File\r
                     RelPath = "registrar_visitas.glade"\r
                     BuildAction = "EmbeddedResource"\r