Connecting Tech Pros Worldwide Help | Site Map

Noob question on using an element of URL ...

Newbie
 
Join Date: May 2006
Posts: 1
#1: May 15 '06
Hi there,

I've a xml file that is composed of node like this one:

Expand|Select|Wrap|Line Numbers
  1. <course>
  2.    <title>ABC</title>
  3.    <url>http://www.something.edu/cee/courses/abc.pdf</url>
  4.    <credit>3</credit>
  5.    <remarks>Prerequisite: xyz</remarks>
  6. </course>
I want to display the data as table in a html:

Expand|Select|Wrap|Line Numbers
  1. <table>
  2.     <tr>
  3.       <td>
  4.        <a href="http://www.something.edu/cee/courses/abc.pdf">ABC</a>
  5.       </td>
  6.       <td>3</td>
  7.       <remarks>Prerequisite: xyz</remarks>
  8.     </tr>
  9.    </table>
As the html is made of a number of graphics and javascript, using xml data island is very good and simple but failed to make the <a href="..."></a> in place.

Is there a simple way to do it? Using xsl may be fast, but the other contents, e.g. the graphics or javascript menus, etc, of that html file are tough to cater and maintained in this way. Please shed me some lights.

Thank you very much.
Reply