RE: Namespace Jungle

Subject: RE: Namespace Jungle
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Tue, 28 Mar 2000 08:28:27 +0200
Microsoft has a tool to convert old stylesheets that follow their
implementation of XSL to the new version of XSLT. I haven't tried it, but it
sounds like you can use it. See
http://msdn.microsoft.com/downloads/webtechnology/xml/xsltconv.asp

I don't know MS-XSL so I'm not able to tell you how much needs to change. 

> -----Original Message-----
> From: Carlos Araya [mailto:elrond@xxxxxxxxxxxxxxxx]
> Sent: Monday, March 27, 2000 7:12 PM
> To: Linda van den Brink
> Cc: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: RE: Namespace Jungle
> 
> 
> 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