Subject: RE: Namespace Jungle From: Carlos Araya <elrond@xxxxxxxxxxxxxxxx> Date: Mon, 27 Mar 2000 09:12:19 -0800 (PST) |
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@xxxxxxxx">araya@xxxxxxxx</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@xxxxxxxx (prefered) | Phone (408) 924 2859 elrond@xxxxxxxxxxxxxxxx | Pager (408) 308 1793 Web : http://www.sjsu.edu/depts/alquist/ | Fax (408) 924 2437 http://valinor.sjsu.edu/~elrond/ finger elrond@xxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Namespace Jungle, Linda van den Brink | Thread | RE: Namespace Jungle, Anton Swanevelder |
Re: Disable Output Escaping - reall, David Carlisle | Date | create multiple tables using a sing, Wielenga, Geertjan |
Month |