[Home] [By Thread] [By Date] [Recent Entries]
I would like to use XSLT to transform one XHTML document to another XHTML
document. I have come across numerous articles that state that this is
possible, but I have yet to see any working examples.
Here is a simple XHTML document: --------------- begin XHTML document ----------------------------- <!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>
<title> XHTML sample </title>
</head><body> <p name="who">Anand</p> <p name="job">Web Developer</p> <p name="area">California</p> </body> </html> --------------- end XHTML document ----------------------------- My question is two fold: 1) What would a simple XSL style sheet to extract the title and various <p> tags look like? 2) Any body know of any good books or website that have specific examples of XHTML being transformed with XSLT? Thanks, Anand _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



