XML?
-
Hi, i am working on asp. i am new to .Net technology & xml.i am trying to learn .net technology. my question is where can we use xml in our project?? i mean when i think of using xml, i am not getting any ideas.i have gone thru xml (from w3schools.com). when i read the topics, i am understanding the topics, but when i want to implement them in my sample project (it's a just simple banking application. which deals with opening accounts and managing accounts...) any suggestions please.................. thanks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
Hi, i am working on asp. i am new to .Net technology & xml.i am trying to learn .net technology. my question is where can we use xml in our project?? i mean when i think of using xml, i am not getting any ideas.i have gone thru xml (from w3schools.com). when i read the topics, i am understanding the topics, but when i want to implement them in my sample project (it's a just simple banking application. which deals with opening accounts and managing accounts...) any suggestions please.................. thanks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
IMHO, XML is basically a readible hierarchical data container in a text document. Optionally, you can enforce its structure and data types using a schema. You have several methods of reading, updating, creating and transforming this data using DOM, XSLT, and push and pull streaming. Using XML with a banking application is possible. However, you have to be aware of security issues that will come up.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
-
IMHO, XML is basically a readible hierarchical data container in a text document. Optionally, you can enforce its structure and data types using a schema. You have several methods of reading, updating, creating and transforming this data using DOM, XSLT, and push and pull streaming. Using XML with a banking application is possible. However, you have to be aware of security issues that will come up.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
hi George, thanks for the response. please can u guide me where and how can i use in my application(sample Banking). just i need the idea to implement the technology. Thanks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
hi George, thanks for the response. please can u guide me where and how can i use in my application(sample Banking). just i need the idea to implement the technology. Thanks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
I cannot answer where and how since I don't know your application's requirements. XML is a generic technology, and I don't have the time to list all of its possible uses that you may entertain. Nevertheless, the .NET Framework uses a lot of XML technologies. For example, a dataset object relies on XML technology for database activities on and off-line.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
-
I cannot answer where and how since I don't know your application's requirements. XML is a generic technology, and I don't have the time to list all of its possible uses that you may entertain. Nevertheless, the .NET Framework uses a lot of XML technologies. For example, a dataset object relies on XML technology for database activities on and off-line.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
thanks once again for ur response. yeah! u r correct. it's a vast subject and u don't have any idea about the application. i will try to findout other way. Thanks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
thanks once again for ur response. yeah! u r correct. it's a vast subject and u don't have any idea about the application. i will try to findout other way. Thanks, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
Hi Rahi, Just like you, I'm new to .NET and had a similar question a couple of months ago. While I will not be able to provide a comprehensive answer as to when and where to use XML, I can tell what I've done with it, and maybe it'll help you see one of its uses. I've been working on the client side of an application that uses web services provided by a number of search engines. Before the user can start querying the search engines, he needs to specify some data, such as the names of the supported seach engines to use, the number of queries to submit per engine, the names of the files containing the queries, etc. Squeezing all these options into one interface along with the actual "start-stop-search feature" would make for a busy-looking GUI, especially since the ultimate client does not need to have access to all these options all the time--only to the start-stop-search feature and an options file containing all that info. So as not to hardcode the search options, I split the application in two: if the user has an options file (with all these options set), he can simply specify it in the dialog box and click the "Start Search" button. If there is no such file, he can click on the menu option that starts the other form with the GUI allowing him to fill in the data and create an options file. I use XML to store the data created by the options builder form into the options file. When the user specifies the options file (containing all this data); he only sees a very simple GUI, where he needs to specify the location of the options file and click the "Start Search" button. While the user doesn't mess with XML at all, the application does, since the format helps it access the data in a more organized manner, where I can extract the relevant data, say for the number of queries for Google, Yahoo, or MSN by extracting the data in the options file stored under the tag of "GoogleQueries", "YahooQueries", or "MSNQueries". Hope this makes it a little clearer for you. If not, you may want to grab a book (I used "C# Programming") and take a look at the examples given there. Vladimir
-
Hi Rahi, Just like you, I'm new to .NET and had a similar question a couple of months ago. While I will not be able to provide a comprehensive answer as to when and where to use XML, I can tell what I've done with it, and maybe it'll help you see one of its uses. I've been working on the client side of an application that uses web services provided by a number of search engines. Before the user can start querying the search engines, he needs to specify some data, such as the names of the supported seach engines to use, the number of queries to submit per engine, the names of the files containing the queries, etc. Squeezing all these options into one interface along with the actual "start-stop-search feature" would make for a busy-looking GUI, especially since the ultimate client does not need to have access to all these options all the time--only to the start-stop-search feature and an options file containing all that info. So as not to hardcode the search options, I split the application in two: if the user has an options file (with all these options set), he can simply specify it in the dialog box and click the "Start Search" button. If there is no such file, he can click on the menu option that starts the other form with the GUI allowing him to fill in the data and create an options file. I use XML to store the data created by the options builder form into the options file. When the user specifies the options file (containing all this data); he only sees a very simple GUI, where he needs to specify the location of the options file and click the "Start Search" button. While the user doesn't mess with XML at all, the application does, since the format helps it access the data in a more organized manner, where I can extract the relevant data, say for the number of queries for Google, Yahoo, or MSN by extracting the data in the options file stored under the tag of "GoogleQueries", "YahooQueries", or "MSNQueries". Hope this makes it a little clearer for you. If not, you may want to grab a book (I used "C# Programming") and take a look at the examples given there. Vladimir
Thanks for ur response. i got to know some what but u know to be frank i need some more information to apply XML techonolgy in my sample project. please can u tell me the author and publications for C# Programming book where i can find the examples? Thanks once again for ur response, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
Thanks for ur response. i got to know some what but u know to be frank i need some more information to apply XML techonolgy in my sample project. please can u tell me the author and publications for C# Programming book where i can find the examples? Thanks once again for ur response, Rahi
If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
You can check out "C# Cookbook" written by Jay Hilyard and Stephen Teilhet: there are a lot of useful examples there. Perhaps, you'll be able to find something that'll suit you. Good luck! Vladimir