1.

How You Define Syntax Of Xlink?

Answer»

We know that in HTML we BADE a hyperlink by using <a> elements. But this will not work in XML.We can create a hyperlink by using Xlink.

I EXPLAIN you how to create an hyperlink in XML by Xlink with an example:

<?xml version="1.0"?>

<homepages xmlns: xlink="http://www.w3.org/1999/xlink">

<homepage xlink:type="SIMPLE"

xlink: href="http://www.R4R.co.in">Huge 

collection of interview question</homepage>

<homepage xlink: ype="simple"

xlink: href="http://www.r4r.in">Enjoy with 

R4R</homepage>

</homepages>

We know that in HTML we bade a hyperlink by using <a> elements. But this will not work in XML.We can create a hyperlink by using Xlink.

I explain you how to create an hyperlink in XML by Xlink with an example:

<?xml version="1.0"?>

<homepages xmlns: xlink="http://www.w3.org/1999/xlink">

<homepage xlink:type="simple"

xlink: href="http://www.r4r.co.in">Huge 

collection of interview question</homepage>

<homepage xlink: ype="simple"

xlink: href="http://www.r4r.in">Enjoy with 

R4R</homepage>

</homepages>



Discussion

No Comment Found