Jump to content

how to use links in xml. been held up long on this :/


mike.younes

Recommended Posts

I got an XML file. I wrote a HTML code that traverses the xml file and outputs it as a tree from the html file

Im trying to figure out how to attach a link to the xml elements, such as when I click on the name in the output, its open a website. I tried:

 

< Control><![CDATA[<a href='http://www.transientminds.org'>Cli... Here for a demo</a>]]></Control>

Also tried:
< ?xml version="1.0" encoding="UTF-8"?>< MAIN xmlns:xlink="http://www.w3.org/1999/xlin... MAIN< MainStation xlink:type="simple" xlink:href="http://google.com" xlink:show="new"> Mainstation1< /MAIN>both not working

 

Attached is the tree that im getting. i want such tht when i double click on Mainstation, or something else, to open google.com

post-187905-0-47223700-1438854373_thumb.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...