![]() |
XML RDF Viewer
RequirementsThis sample requires Visual Basic 6.0 and Windows 98, Windows NT 4.0, or Windows 2000. DescriptionThis sample demonstrates how to retrieve and view the contents of RDF files. The Resource Description Framework (RDF) is a framework for describing metadata. RDF uses XML. It is designed so that Web sites can supply metadata in an easy to use fashion. Using RDF a Web site can create a metadata file that describes the site’s content. The file can then be parsed for an understanding of what is on the site. The sample is written in Visual Basic 6.0 and consists of a single form. Users can enter the URL of a known RDF file or they can choose buttons that represent RDF files from three different sources. The form then retrieves the RDF file, which is then parsed using the MSXML parser. The contents of the RDF file are presented in a list box and any URL links attached to each item are stored in an array. When an item in the list box is selected, the page represented by the associated URL is displayed in the Browser control. For a list of Web sites that supply content via RDF files, visit www.xmltree.com
|
|
© 1999 Microsoft Corporation. All rights reserved. Terms of Use. |