Mark text underline
File: Data.xml <?xml version="1.0"?> <?xml-stylesheet type="text/css" href="Style.css"?> <document xmlns:xlink="http://www.w3.org/1999/xlink"> <page> <title>Linking With XLink</title> <paragraph>This <link xlink:type="simple" xlink:show="new" xlink:actuate="onRequest" xlink:title="Visit" xlink:href="http://www.java2s.com">link </link> will open in a new page. </paragraph> </page> </document> File: Style.css title{ display:block; color: #000000; font-size: 30px; font-weight: bold; } paragraph { display:block; padding:10px; margin: 10px; } link { color: #0000FF; text-decoration: underline; }