Connecting Tech Pros Worldwide Help | Site Map

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

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 07:06 PM
jlynker@gmail.com
Guest
 
Posts: n/a
Default 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


  #2  
Old July 23rd, 2005, 07:06 PM
Martin Honnen
Guest
 
Posts: n/a
Default Re: How to retreive URLs from XML data island for display in HTMLtable



jlynker@gmail.com wrote:
[color=blue]
> 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.[/color]

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/
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.