Connecting Tech Pros Worldwide Forums | Help | Site Map

xlink does not work

Newbie
 
Join Date: Apr 2009
Location: Warsaw, Poland
Posts: 0
#1: Apr 10 '09
Hello everyone,

I need to generate an XML file whose element would be an active link (triggering a PERL script). The only tool I've found which is capable of doing it is Xlink.
The problem is that it doesn't work properly.
My XML file is :

Expand|Select|Wrap|Line Numbers
  1. <searchresult xmlns:xlink="http://www.w3.org/1999/xlink">
  2.     <account>
  3.         <accountpoid xlink:type="simple" xlink:show="replace" xlink:href="http:/localhost/cgi-bin/sample12_copy.pl">16213</accountpoid>
  4.         <status>active</status>
  5.         <currency>US Dollar</currency>
  6.         <business_type>Consumer</business_type>
  7.     </account>
  8. </searchresult>
where http:/localhost/cgi-bin/sample12_copy.pl is the URI of the PERL script and '16213' should be the link. But it doesn't work..
I've tried it on IE7, FF3, and chrome and there is no difference. Is the framework still supported by any browser or maybe I am not using it properly.

Some similar topic is here:
xlinks not showing up in browser

but it didnt solve my problem, also hardcoding the HTML tags in XML didnt work in any browser.
Expand|Select|Wrap|Line Numbers
  1. <xmltag>&lta href="http://www.wherever.com"&gtwherever.com&lt/a&gt</xmltag>
Could you please help me?
Thanks,
Kamil

Reply