xml

  1. R

    Question save xml string passed as string to webservice method in a file

    I want to create a web service method which will taken xml string as input parameter and when I run the webservice I pass the xml string . The webmethod should store the xml string in a file. How can I do in C# using visual studio. please help for example when I run the below code it works as I...
  2. flashkid10

    Extracting a byte[] from XML File

    I currently have a system in a which I store an image to a byte[] (cover) in a class instance. I'm trying to extract a byte[] from the class instance, but I don't know how to do that. the code I'm using is List<Item> information; information = (from e in...
  3. M

    How do I get the home phone type from xml doc?

    My C# code is returning the first phone number in the xml document regardless of its type. But the requirement is that my C# code should return only one phone number based on type found in xml document in a certain order. There are 4 types of phone numbers as you will see in the xml document...
  4. N

    Maptionary: A library for parsing YAML/XML/JSON

    Hello! I made a thing, and would very much like input / critiques / comments from folks, if you're interested. It's a library for parsing JSON/YAML/XML into a very free-form and forgiving data structure (that resembles hashes in Ruby/JS/Python). You can find it here...
  5. S

    Question Can not deserialize a file

    Hey everyone, in my project I deserialize an xml file in order to load the info to the class and it all went good ..before I added Farseer Physics. Now it just won't load and says "An exception of type 'System.InvalidOperationException' occurred in System.Xml.dll but was not handled in user...
  6. C

    Create repeating elements in xml document from datatable

    Hi all, I am creating an XML document from a schema. I used xsd.exe to create a class file from the xsd. I have a datatable that I am using to write the xml with. Below is a sample with only first name and surname. As expected though, 5 nodes are created, the problem is that it only writes...
  7. E

    Question Read XML through Linq

    Hi All I am new to c# and linq. Could you please help me to parse the below xml through linq. <?xml version="1.0" encoding="UTF-8"?> <Dictionary> <GrType Name="Lion"> <Item> <ID> 1 </ID> <Color1> "T1" </Color1> <Color2> "T2" </Color2> <Color3> "T3" </Color3> <Color4>...
  8. jcdb

    HTTP Error 500.19 - Internal Server Error

    Problem deploying to my company's domain - "buildproviders" I encounter a problem copying all of my files (WebApplication) into my company's domain name using FileZilla. When I test my company's domain address, it says "The element 'buildProviders' cannot be defined below the application...
Top Bottom