473,378 Members | 1,309 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Reference link in xml from html page

Hi, I am very new to xml and I'm trying to display a page that pulls
fields from my xml file and displays them in a table in an html page.
So far this part is working. However, I want my one field to be a
hyperlink that opens up a document in a new window. The hyperlink
reference is defined in the xml file, but I do not know how to insert
it and make it work in my html page.

Here's a sample of part of my xml file:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<list>
<manual filename="doc1.doc">
<title>Basic Title</title>
<product>Some Product</product>
<creator>Smith, Bob</creator>
<lastActivityDate>10-15-2004</lastActivityDate>
</manual>
</list>

I pulled all of the data from my xml file into my html file using the
following code:

<tr>
<td><div datafld="product"></div></td>
<td><div datafld="title"></div></td>
<td><div datafld="creator"></div></td>
<td><div datafld="lastActivityDate"></div></td>
</tr>

How would I insert a hyperlink around title to get it to link to the
document specified in the xml file?

Thanks!
Jul 20 '05 #1
0 1405

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Davide Bruzzone | last post by:
Greetings all... Here's a description of the problem that I'm trying to solve: - I have a Web page from which users can open one or more other windows. - From that web page, the user can then...
12
by: Jean-Yves Simon | last post by:
Hi, I have a little problem and I was hoping that someone could help me. I have installed on my PC, the server web apache. Eveything works fine and I have started to create some pages. In...
2
by: learner | last post by:
Hi, In a page, i have many links. I have some functions in a global file which is included in all linked pages. I want to have a reference to a window which is to be opened on clicking one link...
0
by: mnmnm1951 | last post by:
I am working with Sharepoint Services and am trying to add the fileversion Metadata to the Versions.aspx page using the example from the SDK. I have not done much with hashtables but it all looks...
4
by: moondaddy | last post by:
I have a page which has a user control called CheckOutStatusBar and it lives in a table call like this: <%@ Register TagPrefix="uc1" TagName="CheckoutStatusBar"...
9
by: Moe Sizlak | last post by:
Hi There, I am trying to write the selected value of a listcontrol when a button is clicked and I keep getting the error "object not set to a reference of an object". The libox itself is in a...
9
by: Flip | last post by:
I'm having a problem using the tilde in a relative path reference in my aspx. Has anyone got any tips'n'tricks? Right now the resolved html is this. <link id="cssLink" rel="stylesheet"...
12
by: deko | last post by:
I have a long page with several sections and want to link to these sections from another page like this: <a href='http://www.mysite.com/content.html#section12'>Section 12</a> Here's what the...
1
by: Michel Couche | last post by:
Hello, I am starting the development of a newsletter The use of the class MailMessage of System.Net.Mail is quite straightforward for usual contact forms but my question here is "How can I...
0
isladogs
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...

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.