This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Namespace Jungle
- To: Linda van den Brink <lvdbrink at baan dot nl>
- Subject: RE: Namespace Jungle
- From: Carlos Araya <elrond at valinor dot sjsu dot edu>
- Date: Mon, 27 Mar 2000 09:12:19 -0800 (PST)
- cc: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Reply-To: xsl-list at mulberrytech dot com
On Mon, 27 Mar 2000, Linda van den Brink wrote:
Linda:
Thanks for your reply, but now I have the following question. I have an
XSL stylesheet that works OK with INternet explorer and the old DTD
("http://www.w3.org/TR/WD-xsl"). What would I need to do to change it to
be compliant with the second DTD?
This is the XSL stylesheet
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<xsl:apply-templates select="BIBLIOGRAPHY"/>
</xsl:template>
<xsl:template match="BIBLIOGRAPHY">
<html xmlns="http://www.w3.org/TR/REC-html40">
<head>
<title>Annotated bibliography</title>
<link rel="stylesheet" type="text/css"
href="bibliography.css"/>
</head>
<body>
<h1>Annotated Bibliography</h1>
<xsl:apply-templates select="BOOK|ARTICLE"/>
<hr></hr>
<p>if you have any questions about this page, please
contact Carlos Araya (<A
HREF="mailto:araya@sjsu.edu">araya@sjsu.edu</A>)</p>
</body>
</html>
</xsl:template>
<xsl:template match="BOOK">
Title:
<i><xsl:value-of select="TITLE"/><br/></i>
Author(s):
<xsl:for-each select="AUTHOR">
<xsl:value-of select="."/><br/>
</xsl:for-each>
ISBN:
<xsl:value-of select="ISBN"/><br/>
Date Entered:
<xsl:value-of select="DATE-ENTERED"/><br/>
Related Materials (books, articles, etc):<br/>
<xsl:for-each select="RELATED-MATERIAL">
<xsl:value-of select="."/><br/>
</xsl:for-each>
Available online:
<xsl:value-of select="ONLINE"/><br/>
Publisher:
<xsl:value-of select="PUBLISHER"/><br/>
Year of publication:
<xsl:value-of select="YEAR"/><br/>
Comments:
<xsl:for-each select="COMENT">
<xsl:value-of select="."/><br/>
</xsl:for-each>
<p></p>
</xsl:template>
<xsl:template match="ARTICLE">
Title: <i><xsl:value-of select="TITLE"/></i><br/>
Author(s):
<xsl:for-each select="AUTHOR">
<xsl:value-of select="."/><br/>
</xsl:for-each>
ISBN: <xsl:value-of select="ISBN"/><br/>
Date Entered: <xsl:value-of select="DATE-ENTERED"/><br/>
Related Material (book, articles, etc)<br/>
<xsl:for-each select="RELATED-MATERIAL">
<xsl:value-of select="."/><br/>
</xsl:for-each>
Available online: <xsl:value-of select="ONLINE"/><br/>
Available at: <xsl:value-of select="LOCATION"/><br/>
Publisher: <xsl:value-of select="PUBLISHER"/><br/>
Year of publication: <xsl:value-of select="YEAR"/><br/>
Comments:<br/>
<xsl:for-each select="COMENT">
<xsl:value-of select="."/><br/>
</xsl:for-each>
<p></p>
</xsl:template>
</xsl:stylesheet>
Any help is appreciated,
Carlos
--
Carlos E. Araya
WebCT Project Coordinator - New Media Specialist
Alquist Center for Instrucctional Development
San Jose State University
1 Washington Square
San Jose, Ca 95192-0026
email : araya@sjsu.edu (prefered) | Phone (408) 924 2859
elrond@valinor.sjsu.edu | Pager (408) 308 1793
Web : http://www.sjsu.edu/depts/alquist/ | Fax (408) 924 2437
http://valinor.sjsu.edu/~elrond/
finger elrond@valinor.sjsu.edu for PGP key
--
Solid stone is just sand and water, baby/ Sand and water, and a million
years gone by. -- Beth Nielsen Chapman -- Sand and Water
"Be conservative in what you do, be liberal in what you accept from
others," --John B. Postel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list