Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. XML?

XML?

Scheduled Pinned Locked Moved XML / XSL
questioncsharpcomxml
9 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rahithi
    wrote on last edited by
    #1

    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... "

    G 1 Reply Last reply
    0
    • R Rahithi

      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... "

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      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

      R 1 Reply Last reply
      0
      • G George L Jackson

        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

        R Offline
        R Offline
        Rahithi
        wrote on last edited by
        #3

        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... "

        G 1 Reply Last reply
        0
        • R Rahithi

          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... "

          G Offline
          G Offline
          George L Jackson
          wrote on last edited by
          #4

          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

          R 1 Reply Last reply
          0
          • G George L Jackson

            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

            R Offline
            R Offline
            Rahithi
            wrote on last edited by
            #5

            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... "

            S 1 Reply Last reply
            0
            • R Rahithi

              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... "

              S Offline
              S Offline
              shakhtyor
              wrote on last edited by
              #6

              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

              R 1 Reply Last reply
              0
              • S shakhtyor

                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

                R Offline
                R Offline
                Rahithi
                wrote on last edited by
                #7

                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... "

                S 1 Reply Last reply
                0
                • R Rahithi

                  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... "

                  S Offline
                  S Offline
                  shakhtyor
                  wrote on last edited by
                  #8

                  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

                  R 1 Reply Last reply
                  0
                  • S shakhtyor

                    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

                    R Offline
                    R Offline
                    Rahithi
                    wrote on last edited by
                    #9

                    Hi Shakhtyor, Thanks for letting me know about this Book! 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... "

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups