Noob question to use links with xml ...
Hi there,
I have a html page that contains a huge table. Now I want to take this table and its data out to be a xml.
I've created a trial xml file that looks like the following one and put in all the required data:
<course_all>
<course>
<title>ABC</title>
<url>http://www.something.edu/cee/courses/abc.pdf</url>
<credit>3</credit>
<remarks>Prerequisite: xyz</remarks>
</course>
<course>
...
</course>
<course>
...
</course>
</course_all>
The final html code should look like:
<table>
<tr>
[A fixed formatted row here ...]
</tr>
<tr>
<td>
<a href="http://www.something.edu/cee/courses/abc.pdf">ABC</a>
</td>
<td>3</td>
<td>Prerequisite: xyz</td>
</tr>
</table>
As the original html file is made of many 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.
|