This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Transforming XHTML to XHTML using XSLT
- From: "Anand Chandrasekaran" <anandc77 at hotmail dot com>
- To: XSL-List at lists dot mulberrytech dot com
- Date: Fri, 29 Mar 2002 23:25:15
- Subject: [xsl] Transforming XHTML to XHTML using XSLT
- Reply-to: xsl-list at lists dot mulberrytech dot com
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