I would like to know how to display XML in a browser.
Also if possible to maniuplate the XML elements.
Havent touched based with XML in awhile and still abit rusty.
Thanks, Regards X
PS: Below is the listed code and below is the wished output.
Code :
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
xsl:output method="html">
<url>
<loc>http://www.google.com/</loc>
<lastmod>2009-07-03T19:00:55+00:00</lastmod>
<changefreq>monthly</changefreq>
<priority>1.00</priority>
</url>
Output :
<a href="http://www.google.com/">Google</a>