How can I place XML value and use that in href anchor tag?

kankee

New Member
How can I read a XML file on HTML webpage?I just know very basic JavaScript. I am trying to change value in footer of my website using XML because I have more than 100 pages and every time I change something in the footer, I have to change all 100 pages manually. That's why I want to change the footer links through XML.I want my XML link value to go in anchor tags href attribute:\[code\]<a href="http://stackoverflow.com/questions/14079326/here goes the url using xml">\[/code\]Also, the name of the website between the anchor tags too:\[code\]<a href="http://stackoverflow.com/questions/14079326/here goes link value">here goes the name of the url using xml</a>\[/code\]My HTML page should look like this:\[code\]<a href "here goes the url">here goes the name of the url using xml</a>\[/code\]
 
Back
Top