Click here to Skip to main content
14,737,366 members
Home » Discussions » XML / XSL
   

XML / XSL

 
QuestionAccessing a image from a xml file and display in visual studio picture box Pin
kpuneeth722-Feb-10 22:15
Memberkpuneeth722-Feb-10 22:15 
AnswerRe: Accessing a image from a xml file and display in visual studio picture box Pin
Richard MacCutchan22-Feb-10 23:31
mveRichard MacCutchan22-Feb-10 23:31 
Questionxsd to entity [modified] Pin
pokiri22-Feb-10 18:45
Memberpokiri22-Feb-10 18:45 
AnswerRe: xsd to entity Pin
Not Active22-Feb-10 22:01
mentorNot Active22-Feb-10 22:01 
QuestionHow to delete duplicate nodes from XML throgh C#? Pin
deadlyabbas18-Feb-10 20:12
Memberdeadlyabbas18-Feb-10 20:12 
QuestionProblem with MSXML6 + namespace + XPath Pin
Patrice Espie18-Feb-10 5:57
MemberPatrice Espie18-Feb-10 5:57 
AnswerRe: Problem with MSXML6 + namespace + XPath Pin
Stuart Dootson23-Feb-10 1:10
professionalStuart Dootson23-Feb-10 1:10 
QuestionProblem with loading a xml to DataSet Pin
alireza_shokoie16-Feb-10 0:42
Memberalireza_shokoie16-Feb-10 0:42 
Hi all,

I've xml string and I can load it with XmlDataDocument.LoadXml successfully,
so that OuterXml shows the real xml string. But when I want to load in a dataset, the result dataset has no table(Tables.Count=0).
Typical code is as follows:

...
XmlDataDocument Doc = new XmlDataDocument();

/*
string Str = "<Result><DN>22800661</DN><ID>1</ID><Status><Line>Idle</Line></Status></Result>";
*/

Doc.LoadXml(Str);
DataSet datasetResult = Doc.DataSet;
if(datasetResult.Tables.Count == 0) return;
...

and it returns that means datasetResult.Tables.Count is always 0.

Can anyone help me, what is wrong?

Thanks in advance
AnswerRe: Problem with loading a xml to DataSet Pin
daveyerwin18-Feb-10 3:51
Memberdaveyerwin18-Feb-10 3:51 
QuestionXSL help Pin
Member 39976067-Feb-10 1:13
MemberMember 39976067-Feb-10 1:13 
AnswerRe: XSL help Pin
Stuart Dootson7-Feb-10 2:09
professionalStuart Dootson7-Feb-10 2:09 
QuestionUsing MSXML2.ServerXMLHTTP.4.0 and ASP Pin
tommywick656-Feb-10 5:49
Membertommywick656-Feb-10 5:49 
QuestionXSL import another XSL on Client-Side. Pin
yeob4-Feb-10 21:22
Memberyeob4-Feb-10 21:22 
AnswerRe: XSL import another XSL on Client-Side. Pin
daveyerwin5-Feb-10 5:19
Memberdaveyerwin5-Feb-10 5:19 
GeneralRe: XSL import another XSL on Client-Side. Pin
yeob7-Feb-10 20:04
Memberyeob7-Feb-10 20:04 
GeneralRe: XSL import another XSL on Client-Side. Pin
daveyerwin8-Feb-10 4:39
Memberdaveyerwin8-Feb-10 4:39 
AnswerRe: Newbie question - can't figure out xsl Pin
Not Active4-Feb-10 7:54
mentorNot Active4-Feb-10 7:54 
AnswerRe: Newbie question - can't figure out xsl Pin
Richard MacCutchan4-Feb-10 7:57
mveRichard MacCutchan4-Feb-10 7:57 
QuestionSAOP Question Pin
cmpemikail2-Feb-10 0:38
Membercmpemikail2-Feb-10 0:38 
AnswerRe: SAOP Question Pin
SeMartens2-Feb-10 21:27
MemberSeMartens2-Feb-10 21:27 
GeneralImporting COM dll from unix Pin
tom groezer1-Feb-10 1:42
Membertom groezer1-Feb-10 1:42 
GeneralRe: Importing COM dll from unix Pin
Stuart Dootson1-Feb-10 4:03
professionalStuart Dootson1-Feb-10 4:03 
GeneralRe: Importing COM dll from unix Pin
tom groezer2-Feb-10 3:04
Membertom groezer2-Feb-10 3:04 
GeneralRe: Importing COM dll from unix Pin
Stuart Dootson2-Feb-10 3:39
professionalStuart Dootson2-Feb-10 3:39 
GeneralRe: Importing COM dll from unix Pin
tom groezer7-Feb-10 19:57
Membertom groezer7-Feb-10 19:57 

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.