Using HTML code from XML in HTML

xml Sweden
  • 15 years ago

    I want to gather some information from an XML file and use it in a HTML file. I have no problem to get the information from the XML file but I don't know how to implement it into the HTML file so that it uses it as code and not just post it on the site.


    Example of an XML file:
    <Person>
      <Name>John</Name>
      <Webinfo><div class="item"><span class="iname"></span></div></Webinfo>
    </Person>


Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“God could create the world in six days because he didn't have to make it compatible with the previous version.”