How to extract domain name from url using xslt 1.0



If you searched in google scholar for example: http://ift.tt/1M4wy3O, you can see at the right side the download links for those with pdf (picture below).


enter image description here


How can I extract the domain name from the url using xslt? In the picture above, google scholar just displayed the domain names for the url (eg sciencenet.cn, unive.it). The url can be in http, https, ftp.


Thanks in advance.


No comments:

Post a Comment