Click here to Skip to main content
15,917,329 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionMSXML Parser??CreateNode???? Pin
xxhimanshu20-Oct-03 23:22
xxhimanshu20-Oct-03 23:22 
AnswerRe: MSXML Parser??CreateNode???? Pin
Philip Fitzsimons21-Oct-03 2:43
Philip Fitzsimons21-Oct-03 2:43 
GeneralXML round trip problems Pin
james-cxx20-Oct-03 14:01
james-cxx20-Oct-03 14:01 
GeneralRe: XML round trip problems Pin
Christian Graus20-Oct-03 15:17
protectorChristian Graus20-Oct-03 15:17 
GeneralRe: XML round trip problems Pin
james-cxx20-Oct-03 17:33
james-cxx20-Oct-03 17:33 
GeneralRe: XML round trip problems Pin
Christian Graus21-Oct-03 9:34
protectorChristian Graus21-Oct-03 9:34 
QuestionHow to save the content of Datagrid into XML file and retrieve the content into Datagrid? Pin
Cybermilky17-Oct-03 20:46
Cybermilky17-Oct-03 20:46 
GeneralReally interesting problem ! Pin
pahluwalia17-Oct-03 11:52
pahluwalia17-Oct-03 11:52 
Foll are the output of the Structure of DataSet after reading it from a Schema file, with the Relations.

Tables count=3
TableName='Calls'.
Columns count=1
ColumnName='Calls_Id', type = System.Int32

TableName='Call'.
Columns count=5
ColumnName='DateTime', type = System.String
ColumnName='TSR_ID', type = System.String
ColumnName='Comments', type = System.String
ColumnName='Call_Id', type = System.Int32
ColumnName='Calls_Id', type = System.Int32

TableName='Evaluation'.
Columns count=4
ColumnName='MonitorName', type = System.String
ColumnName='DateTime', type = System.String
ColumnName='Evaluation_Id', type = System.Int32
ColumnName='Call_Id', type = System.Int32

RelationName='Call_Evaluation
Parent Table= Call
Child Table=Evaluation
Cols=Call_Id, AND Call_Id,

RelationName='Calls_Call
Parent Table= Calls
Child Table=Call
Cols=Calls_Id, AND Calls_Id,

But the problem is in the nesting. Though the relations seem to exist, but I don't think they are actually being populated that way. Here is the output after putting values in the DataSet.

If you notice, the parent ID has not been populated on it's own since the relation has been defined.

TableName='Calls'.
Rows count=1
ColumnName='Calls_Id', value = 0

TableName='Call'.
Rows count=3
ColumnName='DateTime', value = 1
ColumnName='TSR_ID', value = 62137
ColumnName='Comments', value = 1
ColumnName='Call_Id', value = 0
ColumnName='Calls_Id', value =

ColumnName='DateTime', value = 1
ColumnName='TSR_ID', value = 1
ColumnName='Comments', value = 1
ColumnName='Call_Id', value = 1
ColumnName='Calls_Id', value =

ColumnName='DateTime', value = 1
ColumnName='TSR_ID', value = 1
ColumnName='Comments', value = 1
ColumnName='Call_Id', value = 2
ColumnName='Calls_Id', value =

TableName='Evaluation'.
Rows count=3
ColumnName='MonitorName', value = OP NMay
ColumnName='DateTime', value = 2003-09-10
ColumnName='Evaluation_Id', value = 0
ColumnName='Call_Id', value =

ColumnName='MonitorName', value =
ColumnName='DateTime', value =
ColumnName='Evaluation_Id', value = 1
ColumnName='Call_Id', value =

ColumnName='MonitorName', value =
ColumnName='DateTime', value =
ColumnName='Evaluation_Id', value = 2
ColumnName='Call_Id', value =

Am I missing something here ? I really need to solve this problem asap.
D'Oh! | :doh:
Thanks,
Paul
GeneralDataSet from XML Schema Pin
pahluwalia17-Oct-03 9:34
pahluwalia17-Oct-03 9:34 
GeneralXML Complex Type, DataSet Pin
pahluwalia17-Oct-03 6:36
pahluwalia17-Oct-03 6:36 
GeneralXML Transformation Trouble... Pin
CreProDes17-Oct-03 1:04
CreProDes17-Oct-03 1:04 
GeneralRe: XML Transformation Trouble... Pin
Philip Fitzsimons17-Oct-03 3:04
Philip Fitzsimons17-Oct-03 3:04 
GeneralRe: XML Transformation Trouble... Pin
CreProDes17-Oct-03 3:56
CreProDes17-Oct-03 3:56 
GeneralLookup Table (sort of) in XML Pin
Asad Hussain16-Oct-03 8:51
Asad Hussain16-Oct-03 8:51 
GeneralRe: Lookup Table (sort of) in XML Pin
Asad Hussain16-Oct-03 11:36
Asad Hussain16-Oct-03 11:36 
GeneralSystem.Xml Pin
Michael P Butler15-Oct-03 10:42
Michael P Butler15-Oct-03 10:42 
GeneralRe: System.Xml Pin
Nick Parker15-Oct-03 15:54
protectorNick Parker15-Oct-03 15:54 
QuestionWhat's the best XML format? Pin
Alvaro Mendez14-Oct-03 8:20
Alvaro Mendez14-Oct-03 8:20 
AnswerRe: What's the best XML format? Pin
Stuart Dootson14-Oct-03 9:22
professionalStuart Dootson14-Oct-03 9:22 
GeneralRe: What's the best XML format? Pin
Alvaro Mendez14-Oct-03 9:47
Alvaro Mendez14-Oct-03 9:47 
GeneralRe: What's the best XML format? Pin
Stuart Dootson14-Oct-03 11:34
professionalStuart Dootson14-Oct-03 11:34 
GeneralRe: What's the best XML format? Pin
CreProDes17-Oct-03 1:00
CreProDes17-Oct-03 1:00 
AnswerRe: What's the best XML format? Pin
Philip Fitzsimons17-Oct-03 3:09
Philip Fitzsimons17-Oct-03 3:09 
QuestionHow to Determine if element contains a given attribute Pin
MStanbrook13-Oct-03 9:31
MStanbrook13-Oct-03 9:31 
AnswerRe: How to Determine if element contains a given attribute Pin
Jeromy Stites13-Oct-03 11:41
Jeromy Stites13-Oct-03 11:41 

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.