Altova Mailing List Archives
RE: Namespace Jungle
To:
Date: 3/27/2000 1:12:00 AM
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
Disclaimer
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

