Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

How to use links in XML?

$
0
0

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

Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>