Hi,
I've set up some basic xlinks, just like on the w3 tutorial, but they're not showing up in a browser (IE6 or FF2). Anybody know why? Do they only work when used w/XSL? I'm so confused why they aren't working... -
<?xml version="1.0" encoding="iso-8859-1"?>
-
-
<rootElement xmlns:xlink="http://www.w3.org/1999/xlink">
-
<element>
-
<title>Google</title>
-
<www xlink:type="simple" xlink:href="http://www.google.com" xlink:actuate="onRequest">Go to google.com</www>
-
</element>
-
</rootElement>
-
I have an external javascript to load the xml doc and another js to display the data (w/links I had hoped, but no). I was assuming when the <www> node loads, it would be a link that could be clicked on.
Thanks!
10 3002
Hi,
I've set up some basic xlinks, just like on the w3 tutorial, but they're not showing up in a browser (IE6 or FF2). Anybody know why? Do they only work when used w/XSL? I'm so confused why they aren't working... -
<?xml version="1.0" encoding="iso-8859-1"?>
-
-
<rootElement xmlns:xlink="http://www.w3.org/1999/xlink">
-
<element>
-
<title>Google</title>
-
<www xlink:type="simple" xlink:href="http://www.google.com" xlink:actuate="onRequest">Go to google.com</www>
-
</element>
-
</rootElement>
-
I have an external javascript to load the xml doc and another js to display the data (w/links I had hoped, but no). I was assuming when the <www> node loads, it would be a link that could be clicked on.
Thanks!
I'll have a look at this after work today, npm!
Please stay tuned!
Anybody have an idea why this wouldn't be working like I thought it should?
Thanks!
I've read that tutorial a bunch of times to try and make sure I'm not forgetting anything. From what I can tell, I have the xml all set up the way they describe it there. The links aren't showing up when I view on my computer or from the web server.
I've read that tutorial a bunch of times to try and make sure I'm not forgetting anything. From what I can tell, I have the xml all set up the way they describe it there. The links aren't showing up when I view on my computer or from the web server.
Try this one: http://www.w3schools.com/xlink/xlink_example.asp
It works at my end: - <?xml version="1.0" encoding="ISO-8859-1"?><bookstore xmlns:xlink="http://www.w3.org/1999/xlink"><book title="Harry Potter">
-
<description
-
xlink:type="simple"
-
xlink:href="http://book.com/images/HPotter.gif"
-
xlink:show="new">
-
As his fifth year at Hogwarts School of Witchcraft and
-
Wizardry approaches, 15-year-old Harry Potter is.......
-
</description>
-
</book><book title="XQuery Kick Start">
-
<description
-
xlink:type="simple"
-
xlink:href="http://book.com/images/XQuery.gif"
-
xlink:show="new">
-
XQuery Kick Start delivers a concise introduction
-
to the XQuery standard.......
-
</description>
-
</book></bookstore>
Please give it a go and let us know.
In a bit!
It still didn't work on my end. A couple questions:
1. What OS/browser are you using? I'm using Windows XP SP2 and Firefox 2.0.0.4, although it didn't show up in IE6 either.
2. The initial xlink declaration (xmlns:xlink="http://www.w3.org/1999/xlink") is in the root element. Does it need to go in the direct parent element of the element I want hyperlinked, even if that parent element isn't the root element?
Thanks again for your help!
I also tried hardcoding the html <a> tags inside the xml tags: -
<xmltag><a href="http://www.wherever.com">wherever.com</a></xmltag>
-
This works and the link shows up in the browser, but I'd rather not do it this way.
I also tried hardcoding the html <a> tags inside the xml tags: -
<xmltag><a href="http://www.wherever.com">wherever.com</a></xmltag>
-
This works and the link shows up in the browser, but I'd rather not do it this way.
Using IE7, though I think you should still be able to see it in 6. I should perjhaps tell you, you probably have it working and do not know. The link, and I should have been a little precise, is embedded within an image, so if you do not have an image, you will have nothing to click on, but you cursor will come alive if hovr over the area where you know the link should be. Try that, or add an image in the same folder the files are stored, fire it up then...
Sorry for your troubles!
Sorry it took so long to get back to your last reply.
So...the whole xlink thing only works if you want to click on an image, not text?
I thought the text itself would be the link. At least, that's what I gathered from the W3Schools tutorial.
Thanks!
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Merijn Boom |
last post by:
Hi,
I would like to know is somebody has experience in showing HTML from a perl
executable in the default browser and let that html interact with the perl
executable via the browser. This is...
|
by: Vishnu |
last post by:
I have a strange problem on WindowsXP proffessional with
IE6 ,when i try to display a tiff file ,it is not
showing ,small red x is comming up.
I tried by dowloading latest IE from microsoft but...
|
by: lawrence |
last post by:
Under the domain publicpen.com I've several dozen sites in
subdiretories, such as www.publicpen.com/honenbeger. I've no trouble
with any of these sites. But under one, which I put in yesterday,...
|
by: lewindha |
last post by:
Hi guys
I am new to ASP and .Net. I am working a web app where some Crystal
Reports will be incorporated. Right now I am trying to get a simple
report with a bar graph to show up in a browser....
|
by: Mike Dee |
last post by:
Hi,
I'm having an issue with the status bar in Mozilla and Netscape showing that
it is still waiting on the page to load even after it is finished. This
problem does NOT occur with IE.
In...
|
by: graphicsxp |
last post by:
Hi,
I have can upload a file to the server from my aspx page using the
uploadfile control. When the user click on submit I'd like to show an
animated gif while the file is being uploaded. But how...
|
by: asllearner |
last post by:
I have an htaccess file protected folder. In that folder I have several php files that generate some simple html. When I am logged out, cache cleared, sessions info cleared, I navigate to one of the...
|
by: petermichaux |
last post by:
Hi,
I would like to display a message to Internet Explorer clients to
encorage them to get Firefox. Yes they may like Internet Explorer but
it is my site :)
http://www.explorerdestroyer.com/...
|
by: Nick |
last post by:
Hi,
I'm interested in learning more about XLinks.
I've read the last raccomandations from W3 and the other related
documents and am looking for a concrete example of the extended links.
Do...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |