xsl-list
[Top] [All Lists]

adding links to html using xsl

2004-05-19 02:02:42
Hi,

I have a HTML file

<html>
<body>
<h1>
<center>Findbugs Summary Report</center>
</h1>
.....
.....
<table border="0" width="90%">
<tr>
.....
.....
<h2>Analysis of Package: <i><font
color="green">dcx.sysman.logging.format</font></i>
</h2>
.....
.....

I want this to be converted as

<html>
<body>
<h1>
<center>Findbugs Summary Report</center>
</h1>
.....
.....
<table border="0" width="90%">
<tr>
.....
.....
<h2>Analysis of Package: <i><font color="green"><A
href="xyz.xml">dcx.sysman.logging.format</A></font></i>
</h2>
.....
.....


i.e I want to add links to the existing text.
How can this be done by xslt. 
Is there any method to scan through the html file and
search for the the string after 'Analysis of Package:'
and add a link and leave the rest of the code as it is
in a newly generated html file.

bye,
with regards,
Deepak.



        
                
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/


<Prev in Thread] Current Thread [Next in Thread>