Software Development


hi everyone,
i new in software field , want read xml file using visual c# .net . please provide solution , provide me list of software development companies specialises in development of custom software applications deals custom programming, database design, client-server , internet/intranet software application development on platforms including windows, linux, mac.

hi ben

in response first question regarding xml:
1. start visual studio 2005 or visual studio .net.
2. create new visual c# console application. proceed directly "complete code listing" section or continue through these steps build application.
3. make sure project contains reference system.xml.dll assembly.
4. specify using directive on system.xml namespace not required qualify xmltextreader declarations later in code. must use using directive before other declarations.

using system.xml;

5. create instance of xmltextreader object, , populate xml file. typically, xmltextreader class used if need access xml raw data without overhead of dom; thus, xmltextreader class provides faster mechanism reading xml. xmltextreader class has different constructors specify location of xml data. following code creates instance of xmltextreader class , loads books.xml file. add following code main procedure of class1.

xmltextreader reader = new xmltextreader ("books.xml");

6. read through xml. (note step demonstrates outer "while" loop, , next 2 steps demonstrate how use loop read xml.) after create xmltextreader object, use read method read xml data. read method continues move through xml file sequentially until reaches end of file, @ point read method returns value of "false."

while (reader.read())
{
// work here on data.
console.writeline(reader.name);
}
console.readline();

7. inspect nodes. process xml data, each record has node type can determined nodetype property. name , value properties return node name (the element , attribute names) , node value (the node text) of current node (or record). nodetype enumeration determines node type. following sample code displays name of elements , document type. note sample ignores element attributes.

while (reader.read())
{
switch (reader.nodetype)
{
case xmlnodetype.element: // node element.
console.write("<" + reader.name); console.writeline(">");
break;
case xmlnodetype.text: //display text in each element.
console.writeline (reader.value);
break;
case xmlnodetype. endelement: //display end of element.
console.write("");
break;
}
}

8. inspect attributes. element node types can include list of attribute nodes associated them. movetonextattribute method moves sequentially through each attribute in element. use hasattributes property test whether node has attributes. attributecount property returns number of attributes current node.

while (reader.read())
{
switch (reader.nodetype)
{
case xmlnodetype.element: // node element.
console.write("<" + reader.name); while (reader.movetonextattribute()) // read attributes. console.write(" " + reader.name + "='" + reader.value + "'"); console.writeline(">");
break;
case xmlnodetype.text: //display text in each element.
console.writeline (reader.value);
break;
case xmlnodetype. endelement: //display end of element.
console.write("");
break;
}
}

9. save , close project.

back top
complete code listing

using system;
using system.xml;

namespace readxmlfromfile
{
///
/// summary description class1.
///
class class1
{
static void main(string[] args)
{
xmltextreader reader = new xmltextreader ("books.xml");
while (reader.read())
{
switch (reader.nodetype)
{
case xmlnodetype.element: // node element.
console.write("<" + reader.name); console.writeline(">");
break;
case xmlnodetype.text: //display text in each element.
console.writeline (reader.value);
break;
case xmlnodetype.endelement: //display end of element.
console.write("");
break;
}
}
console.readline();
}
}
}
in response second question:

i have found interesting site on <a href=" http://www.saibposervices.com/software_development_solutions.aspx">software development</a>.it can deal sorts of <a href=" http://www.saibposervices.com/software_development_solutions.aspx">software development</a>.their application services span wide range of technologies, platforms , operating systems including development , integration, web solutions , application management <a href=" http://www.saibposervices.com">outsourcing</a>.it deals
microsoft technologies:
.net, c#, vb, vc++/mfc/atl, com+, mts/com/dcom, visual interdev/asp, xml, dom
java , related technologies:
jdk, j2ee, ejb/jsp, corba, rmi, wap, wml, websphere, xml, weblogic, iplanet
databases:
oracle, sql server, db2, informix, sybase, ms access, borland database engine

low level programming in c, c++

palmtop/handheld computing using palm os, windows ce platforms
linux:
php/perl, gnu c++, postgres, mysql
erp:
jd edwards
others:
pro*c, oracle/d-2k, coldfusion


More discussions in XMP SDK


adobe

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code