Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

View XML data as a table [closed]

Tags:

c#

sql

xml

xsd

Is there a way I can use Visual Studio to view my XML data in a tabular structure by applying the appropriate XSD to it?

Are there any other tools I can easily use for this purpose? PS: I need this for a one time use.

like image 476
Raj More Avatar asked Oct 12 '10 18:10

Raj More


People also ask

How do I display an XML File in a table?

To bind an XML data to an HTML table, add the datasrc (data source) attribute to the table element, then add the datafld (data field) attributes to any other inline eg. <div>, <span> or <input> tags between the <td> elements.

How do I view an XML File as a tree?

Dragging and dropping your XML file into the browser will prompt the browser to display the XML file's code in a "tree" view. You can click the + or - (or, if you're using Chrome, the triangle) to the left of a main tag in the XML code to minimize or expand the code.

What is the best way to view an XML File?

View an XML file in a browser Just about every browser can open an XML file. In Chrome, just open a new tab and drag the XML file over. Alternatively, right click on the XML file and hover over "Open with" then click "Chrome". When you do, the file will open in a new tab.

How do I make an XML File readable?

XML files are encoded in plaintext, so you can open them in any text editor and be able to clearly read it. Right-click the XML file and select "Open With." This will display a list of programs to open the file in. Select "Notepad" (Windows) or "TextEdit" (Mac).


1 Answers

Use Excel to view the XML document, as Oded mentioned.

If you're using Excel 2003, click on Data->XML->Import, and select the XML you'd like to view. Excel will ask you which cell to start the import from, and then populate the spreadsheet with the XML data.

like image 124
code4life Avatar answered Sep 24 '22 14:09

code4life