Jump to content

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

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


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...