471,591 Members | 2,570 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,591 software developers and data experts.

How to retreive URLs from XML data island for display in HTML table

Can href= value be filled in by a datafld variable?

After reviewing the link object, data islands and anchors array,
there's something missing here. I would like to keep an XML file of
URLs and have them display as links in a table on an HTML page.

Ah...but they have to look and behave like links!

I'd be ok with faking them to look like links and responding to a
mouseclick if I could figure out how to pass the table row into the
script.

Thanks in advance,
John Lynker

Jul 23 '05 #1
1 1413


jl*****@gmail.com wrote:
Can href= value be filled in by a datafld variable?

After reviewing the link object, data islands and anchors array,
there's something missing here. I would like to keep an XML file of
URLs and have them display as links in a table on an HTML page.


I don't think you can bind to attributes.
Of course what you can do is use XML as the data store for your links
and use other means than data binding to create a HTML table, for
instance DOM scripting. That would work in a lot of more browsers that
XML data islands with data binding work with as that is IE/Win specific.
Or if you are looking at an IE solution which transforms your XML data
into properly structured HTML with real links you could use XSLT to
perform that transformation.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Pat Alessi | last post: by
reply views Thread by Flip | last post: by
10 posts views Thread by jflash | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.