Click here to Skip to main content
15,887,214 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionRepresenting arrays of values in an XML file. Pin
Jack 292716-Jan-08 16:06
Jack 292716-Jan-08 16:06 
GeneralRe: Representing arrays of values in an XML file. Pin
George L. Jackson17-Jan-08 9:31
George L. Jackson17-Jan-08 9:31 
GeneralRe: Representing arrays of values in an XML file. Pin
led mike17-Jan-08 9:43
led mike17-Jan-08 9:43 
GeneralRe: Representing arrays of values in an XML file. Pin
George L. Jackson17-Jan-08 12:33
George L. Jackson17-Jan-08 12:33 
GeneralRe: Representing arrays of values in an XML file. Pin
led mike17-Jan-08 9:42
led mike17-Jan-08 9:42 
Questionhow to read xml using javascript? Pin
googlejumbo15-Jan-08 0:09
googlejumbo15-Jan-08 0:09 
AnswerRe: how to read xml using javascript? Pin
led mike15-Jan-08 6:24
led mike15-Jan-08 6:24 
GeneralDataGrid: view XML data Pin
aluisdo14-Jan-08 2:47
aluisdo14-Jan-08 2:47 
Dear all,

I got an XML like this:

<colleagues>
<colleague branchid="NH" dept="IT">
<name>Aluis</name>
<email>tungdt@ssi.com.vn</email>
<phone areacode="02" ext="1604">123456789</phone>
<mobile>0983934645</mobile>
<fax></fax>
<comp ipaddress="192.168.2.5">IT11</comp>
</colleague>
...
</colleagues>

here is code that I load XML to DataGrid:

<code>
private void loadData(string xmlsource)
{
try {
// Initialize Component and other code here
// Create an XmlDataDocument object and read an XML
XmlDataDocument xmlDatadoc = new XmlDataDocument();
xmlDatadoc.DataSet.ReadXml(xmlsource);
// Create a DataSet object and fill with the dataset
// of XmlDataDocument
this.colleagueList = new DataSet("Colleague List");
this.colleagueList = xmlDatadoc.DataSet;
// Attach dataset view to the Data Grid control
this.lstColleague.DataSource = this.colleagueList.DefaultViewManager;
this.lstColleague.NavigateTo(0, "colleague");
} catch(Exception e) {
throw e;
}
}
</code>

but all the attributes in <phone> node, and <comp> node were not showed.

Please help me how to display all information in one view...

Regards, </comp></phone>
QuestionHow to filt some items when transform xml to html with xslt? Pin
guiqul16313-Jan-08 19:40
guiqul16313-Jan-08 19:40 
Generalschema Pin
justintimberlake12-Jan-08 17:53
justintimberlake12-Jan-08 17:53 
GeneralRead and Write an image into Xml Pin
shoukat12-Jan-08 17:21
shoukat12-Jan-08 17:21 
GeneralRe: Read and Write an image into Xml Pin
pmarfleet12-Jan-08 23:28
pmarfleet12-Jan-08 23:28 
GeneralConvert XML from one format to other format (depending on one XSD) Pin
coder_help11-Jan-08 0:07
coder_help11-Jan-08 0:07 
GeneralRe: Convert XML from one format to other format (depending on one XSD) Pin
led mike11-Jan-08 5:54
led mike11-Jan-08 5:54 
QuestionXSL - Transform Element Values to Attribute Name Pin
lisad_tgc10-Jan-08 12:47
lisad_tgc10-Jan-08 12:47 
GeneralRe: XSL - Transform Element Values to Attribute Name Pin
led mike11-Jan-08 5:48
led mike11-Jan-08 5:48 
QuestionCreation of xml-file based on schema? Pin
eroi10-Jan-08 3:53
eroi10-Jan-08 3:53 
GeneralRe: Creation of xml-file based on schema? Pin
led mike11-Jan-08 5:38
led mike11-Jan-08 5:38 
GeneralRe: Creation of xml-file based on schema? Pin
eroi14-Jan-08 3:32
eroi14-Jan-08 3:32 
GeneralRe: Creation of xml-file based on schema? Pin
led mike15-Jan-08 6:00
led mike15-Jan-08 6:00 
GeneralRe: Creation of xml-file based on schema? Pin
eroi17-Jan-08 1:06
eroi17-Jan-08 1:06 
QuestionHelp to incorporate an html code in xslt Pin
Ismailc9-Jan-08 21:01
Ismailc9-Jan-08 21:01 
Generaltransfer file Pin
angels7779-Jan-08 5:18
angels7779-Jan-08 5:18 
GeneralBest approach towards reading specific information from XML file Pin
Krishnaraj Barvathaya B8-Jan-08 22:46
Krishnaraj Barvathaya B8-Jan-08 22:46 
GeneralRe: Best approach towards reading specific information from XML file Pin
led mike9-Jan-08 4:46
led mike9-Jan-08 4:46 

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.