Im looking for a way to render or show my xml tag content within a html document, for example.
something.xml
<fudge>Green</fudge>
test.html
<div id="fudge">
</div>
within the html div i would like Green to be printed
Im looking for a way to render or show my xml tag content within a html document, for example.
something.xml
<fudge>Green</fudge>
test.html
<div id="fudge">
</div>
within the html div i would like Green to be printed
To do this your HTML file should contain some JavaScript code, so you will want to learn how to parse XML in Javascript.
Here is a good StackOverflow question on this topic: XML parsing in JavaScript