| 1 | <?xml version='1.0' ?>
|
|---|
| 2 | <!-- ******************************************************************** -->
|
|---|
| 3 | <!-- HTML Customization Layer of Docbook XSL -->
|
|---|
| 4 | <!-- ******************************************************************** -->
|
|---|
| 5 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 9 | <!-- Import the stylesheet to chunk the html output -->
|
|---|
| 10 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 11 | <xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl" />
|
|---|
| 12 |
|
|---|
| 13 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 14 | <!-- Include the file which specifies common DocBook XSL parameters. -->
|
|---|
| 15 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 16 | <xsl:include href="./G4XSLCommon.xsl" />
|
|---|
| 17 |
|
|---|
| 18 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 19 | <!-- Specify the CSS stylesheet to be used for fine tuning of appearance. -->
|
|---|
| 20 | <!-- [Note] Remember to take care the relative path to index.html -->
|
|---|
| 21 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 22 | <xsl:param name="html.stylesheet">../xml/XSLCustomizationLayer/G4HTMLStylesheet.css</xsl:param>
|
|---|
| 23 |
|
|---|
| 24 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 25 | <!-- Specify the chunk conditions - the chunk level and the directory to -->
|
|---|
| 26 | <!-- which the chunked files will be stored. You need to import the chunk -->
|
|---|
| 27 | <!-- stylesheet beforehand. -->
|
|---|
| 28 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 29 | <xsl:param name="chunk.section.depth">1</xsl:param>
|
|---|
| 30 | <xsl:param name="base.dir">../html/</xsl:param>
|
|---|
| 31 |
|
|---|
| 32 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 33 | <!-- Include the file which specifies the customized title page. -->
|
|---|
| 34 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 35 | <xsl:include href="./G4BookTitlePageHTML.xsl" />
|
|---|
| 36 |
|
|---|
| 37 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 38 | <!-- Use customized navigation icons. -->
|
|---|
| 39 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 40 | <xsl:param name="navig.graphics">1</xsl:param>
|
|---|
| 41 | <xsl:param name="navig.graphics.extension">.gif</xsl:param>
|
|---|
| 42 | <xsl:param name="navig.graphics.path">AllResources/IconsGIF/</xsl:param>
|
|---|
| 43 |
|
|---|
| 44 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 45 | <!-- Define Java script and invoke by processing instruction (PI) -->
|
|---|
| 46 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|---|
| 47 |
|
|---|
| 48 | <!-- Include JavaScript Function in HTML Header Part -->
|
|---|
| 49 | <xsl:template name="user.head.content">
|
|---|
| 50 | <script language="JavaScript">
|
|---|
| 51 | function remote_win(fName)
|
|---|
| 52 | {
|
|---|
| 53 | var url = "AllResources/Detector/geometry.src/" + fName;
|
|---|
| 54 | RemoteWin=window.open(url,"","resizable=no,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,copyhistory=0,width=520,height=520")
|
|---|
| 55 | RemoteWin.creator=self
|
|---|
| 56 | }
|
|---|
| 57 | </script>
|
|---|
| 58 | </xsl:template>
|
|---|
| 59 |
|
|---|
| 60 | <!-- Handle Processing Instruction named 'JavaScript' -->
|
|---|
| 61 | <xsl:template match="processing-instruction()[local-name()= 'JavaScript']">
|
|---|
| 62 | <xsl:text disable-output-escaping="yes"><a href="javascript:remote_win('</xsl:text>
|
|---|
| 63 | <xsl:value-of select="." /><xsl:text disable-output-escaping="yes">')" onMouseOver="window.status='Get alive picture...'; return true">[Rotate the Picture]<br />
|
|---|
| 64 | </xsl:text>
|
|---|
| 65 | <xsl:text disable-output-escaping="yes"></a>
|
|---|
| 66 | </xsl:text>
|
|---|
| 67 | </xsl:template>
|
|---|
| 68 |
|
|---|
| 69 |
|
|---|
| 70 | </xsl:stylesheet>
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|