Click here to Skip to main content
15,916,280 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Is schema file or mapping file is compulsory for SQLXML? Pin
George L. Jackson10-Feb-06 9:35
George L. Jackson10-Feb-06 9:35 
QuestionGenerate Xml describing my textbox or any UI controls Pin
NewbieDude8-Feb-06 20:06
NewbieDude8-Feb-06 20:06 
Questionfirefox XML DOM compatibility Pin
kedar.dave7-Feb-06 10:18
kedar.dave7-Feb-06 10:18 
QuestionXML as Database Pin
MikeMinsk5-Feb-06 1:06
MikeMinsk5-Feb-06 1:06 
AnswerRe: XML as Database Pin
Edbert P6-Feb-06 18:39
Edbert P6-Feb-06 18:39 
AnswerRe: XML as Database Pin
ChesterPoindexter3-Mar-06 17:43
professionalChesterPoindexter3-Mar-06 17:43 
QuestionInvalid character error in XML file Pin
Sandeep Shetty1-Feb-06 2:49
Sandeep Shetty1-Feb-06 2:49 
QuestionPosting XML to ASP page. Pin
dbenisch31-Jan-06 13:41
dbenisch31-Jan-06 13:41 
I am trying to figure out how to post a memory buffer which is composed of an XML document, to a ASP page and I am getting a specific error that I am not sure why its throwing. The error is "not all code paths return a value." Below is the code, Is there someone here that can point out my mistake?

Many thanks in advance.

--Derk Confused | :confused:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

public class UTSPost
{
private const string BASE_URI = "http://Post/_Update.asp";

public string PostToWS(XmlDocument xmldoc)
{
string uriString = BASE_URI;

// Create a new WebClient instance.
WebClient myWebClient = new WebClient();
string postData = xmldoc.ToString();

// Apply ASCII Encoding to obtain the string as a byte array.
byte[] postArray = Encoding.ASCII.GetBytes(postData);
System.Windows.Forms.MessageBox.Show("Uploading data ...");
myWebClient.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
myWebClient.UseDefaultCredentials = true;

//UploadData implicitly sets HTTP POST as the request method.
byte[] responseArray = myWebClient.UploadData(uriString, postArray);

// Decode and display the response.
//System.Windows.Forms.MessageBox.Show("Response received was :{0}", Encoding.ASCII.GetString(responseArray));
}
}
AnswerRe: Posting XML to ASP page. Pin
Edbert P6-Feb-06 18:48
Edbert P6-Feb-06 18:48 
QuestionPDF/doc/HTML to xml conversion in java Pin
sameerbhise.pspl31-Jan-06 3:18
sameerbhise.pspl31-Jan-06 3:18 
Questionxpath Pin
Matthew Hazlett30-Jan-06 6:41
Matthew Hazlett30-Jan-06 6:41 
AnswerRe: xpath Pin
George L. Jackson10-Feb-06 6:29
George L. Jackson10-Feb-06 6:29 
Questiontransforming XML to HTML Pin
maheshfour30-Jan-06 0:52
maheshfour30-Jan-06 0:52 
QuestionNeed Java Code For Validating The XML agaianest XSD which includes other xsd's Pin
venu neppalli27-Jan-06 1:56
venu neppalli27-Jan-06 1:56 
Questionquestiona bout XmlDocument Pin
abstarsss21-Jan-06 19:23
abstarsss21-Jan-06 19:23 
QuestionNewspaper View Styles Pin
cpod21-Jan-06 8:56
cpod21-Jan-06 8:56 
AnswerRe: Newspaper View Styles Pin
Dmitry Khudorozhkov14-Feb-06 6:04
Dmitry Khudorozhkov14-Feb-06 6:04 
QuestionBinding an Xml file with a DropDown Control, URGENT!!!! Pin
ajmal419-Jan-06 20:26
ajmal419-Jan-06 20:26 
AnswerRe: Binding an Xml file with a DropDown Control, URGENT!!!! Pin
Javier Lozano21-Jan-06 10:41
Javier Lozano21-Jan-06 10:41 
GeneralRe: Binding an Xml file with a DropDown Control, URGENT!!!! Pin
ajmal423-Jan-06 19:14
ajmal423-Jan-06 19:14 
GeneralRe: Binding an Xml file with a DropDown Control, URGENT!!!! Pin
naveen_sharma30-Jan-06 6:39
naveen_sharma30-Jan-06 6:39 
Questionrequire code using xsd file to validate xml file Pin
angel_yoyo19-Jan-06 14:48
angel_yoyo19-Jan-06 14:48 
Questionxml feed Pin
jphuphilly18-Jan-06 7:41
jphuphilly18-Jan-06 7:41 
AnswerRe: xml feed Pin
tarasn23-Jan-06 0:00
tarasn23-Jan-06 0:00 
QuestionXmlNamespaceManager.. Why? Pin
dmchappell18-Jan-06 5:44
dmchappell18-Jan-06 5:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.