Subject: [xsl] XHTML -> HTML problem From: Angeshwar Deepak <angeshwar@xxxxxxxxx> Date: Wed, 26 May 2004 08:55:05 -0700 (PDT) |
Hi, I have the following XHTML file <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="generator" content= "HTML Tidy for Windows (vers 1st March 2004), see www.w3.org" /> <title></title> </head> <body> <center> <h1>Findbugs Summary Report</h1> </center> <table border="1" width="90%"> .... </table> <table border="1" width="90%"> .... </table> ......... <!--More tables--> ......... <center> <h2>Analysis of Package: <i><font color= "green">dcx.sysman.logging.handler</font></i></h2> </center> <center> ......... <!--More tables--> ......... <center> <h2>Analysis of Package: <i><font color= "green">dcx.sysman.logging</font></i></h2> </center> <center> ......... <!--More tables--> ......... <!--More Analysis of package statements--> ......... </table> </center> <br /> </body> </html> I have to extract the xhtml via xsl and create an exact replica of HTML file but with <a href> tag added to to the analysis of package for example <h2>Analysis of Package: <i><font color= "green"><a href="xyz.xml">dcx.sysman.logging.handler</a></font></i></h2> The remaining XHTML coding has to be copied without any changes i.e. user defined links has to be provided to the analysis of package alone. How can it be done. Also it has to be dynamic or run time, ie the xhtml file may change however the sets of tags <center> <h2>Analysis of Package: <i><font color= "green">dcx.sysman.logging</font></i></h2> </center> <center> will not change, although the string dcx.sysman.logging may change for the next xhtml file. also i have the name of the packages in a previous xsl file in a javascript array, will this be of any use in comparision. how can this be done, sounds too complex. bye, with regards, Deepak. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSLT to SVG markup, David M Carriger | Thread | Re: [xsl] XHTML -> HTML problem, Niclas Hedhman |
RE: [xsl] Grouping into a table (fo, Pieter Reint Siegers | Date | RE: [xsl] Grouping into a table (fo, Wendell Piez |
Month |