469,085 Members | 1,054 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,085 developers. It's quick & easy.

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 1364


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 zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.