home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink">
-
- <!-- Edugen XSL Stylesheets V1.0 =======================================
-
- File links.xsl
-
- This file is part of the Edugen XSL Stylesheets.
- Copyright (c) 2002 WWL Corp. - A Subsidiary of John Wiley & Sons, Inc.
- ========================================================================= -->
-
- <xsl:output method="html" indent="no"/>
-
- <!-- version -->
- <xsl:param name="version">1.0</xsl:param>
- <!-- dynamic param -->
- <xsl:param name="selector" select="/*"/>
-
- <xsl:attribute-set name="body_attributes">
- <xsl:attribute name="bgcolor">#ffffff</xsl:attribute>
- <xsl:attribute name="text">#000000</xsl:attribute>
- </xsl:attribute-set>
-
- <!-- ============= root =============================== -->
- <xsl:template match="/">
- <html>
- <xsl:comment>
- Copyright (c) 2002 WWL Corp. - A Subsidiary of John Wiley & Sons, Inc.
- Thank you for examining our code
- </xsl:comment>
- <head>
- <title>Page</title>
- <meta name="generator" content="Edugen XSL Stylesheets V{$version}"/>
- </head>
- <body xsl:use-attribute-sets="body_attributes">
- <xsl:apply-templates select="$selector"/>
- </body>
- </html>
- </xsl:template>
- <!-- ====== end of root =============================== -->
-
- <!-- ============= link =============================== -->
- <xsl:template match="SEC|PAGE|ITEM">
- <script type="text/javascript" language="JavaScript">
- <![CDATA[var pageid=']]><xsl:value-of select='@ID'/><![CDATA[';]]>
- <![CDATA[
- if (pageid=="")
- {
- document.write("Sorry, there is no item that you have queried.")
- }
- else
- {
- self.location.replace("<?11?>?sid=<?1003?>&msg=7000&pageid=" + pageid);
- }
- ]]>
- </script>
- </xsl:template>
- <xsl:template match="TEST">
- <script type="text/javascript" language="JavaScript">
- <![CDATA[var pageid=']]><xsl:value-of select='@ID'/><![CDATA[';]]>
- <![CDATA[
- if (pageid=="")
- {
- document.write("Sorry, there is no item that you have queried.")
- }
- else
- {
- self.location.replace("<?11?>?sid=<?1003?>&msg=7000&pageid="+pageid+"t");
- }
- ]]>
- </script>
- </xsl:template>
- <!-- ====== end of link =============================== -->
-
- <!-- =========================================================================
- Thank you for examining our code.
- Please direct all questions, bug reports, or suggestions for changes
- to the info@maris.com
- ========================================================================== -->
-
- </xsl:stylesheet>