I am a newbie in programming and I'm trying to display metadata of some files using C#.Net.It is a web application intended to be hosted on our office intranet. I have been using Visual Studio 2017 with .NET framework version 4.6.1.
I have created several xml files for meta data and placed a TreeView web server control in my design page.Can you please tell me a way to populate the TreeView control from the xml files. A sample xml code is given below.
- xml version="1.0" encoding="utf-8"?>
- <metadata>
- <idinfo>
- <citation>
- <citeinfo>
- <origin>Jay Diffendorferorigin>
- <origin>Roger Comptonorigin>
- <origin>Louisa Kramerorigin>
- <origin>Zach Anconaorigin>
- <origin>Donna Nortonorigin>
- <pubdate>201402pubdate>
- <title>Onshore Industrial Wind Turbine Locations for the United States through July 2013title>
- <geoform>Maps and Data - vector digital datageoform>
- <pubinfo>
- <pubplace>Denver, COpubplace>
- <publish>United States Geological Survey (USGS)publish>
- pubinfo>
- <onlink>http://dx.doi.org/10.3133/ds817 andhttp://eerscmap.er.usgs.gov/windfarm/onlink>
- citeinfo>
- citation>
- idinfo>
- metadata>
Identification Information:
Citation:
Citation Information:
Originator: Jay Diffendorfer
Originator: Roger Compton
Originator: Louisa Kramer
Originator: Zach Ancona
Originator: Donna Norton
Published Date: 2014 02
Title: Onshore Industrial Wind Turbine Locations for the United States through July 2013
Geoform:Maps and Data - vector digital data
Publication Information:
Published Place: Denver, CO
Published by: United States Geological Survey (USGS)
Online Link:http://dx.doi.org/10.3133/ds817 andhttp://eerscmap.er.usgs.gov/windfarm/
Manav PandyaPosted Apr 8, 2018, 2:30 AM