[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XHTML -> HTML problem

Subject: XHTML -> HTML problem
From: Angeshwar Deepak <angeshwar@xxxxxxxxx>
Date: Wed, 26 May 2004 08:55:05 -0700 (PDT)
xhtml center
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.