http://www.perlmonks.org?node_id=120144


in reply to MS WORD TABLES WITH WIN32::OLE

As for adding Tables to a word Doc, this works for me:

use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft Word'; $Win32::OLE::Warn = 2; # Throw Errors, I'll catch them my $Word = Win32::OLE->GetActiveObject('Word.Application') || Win32::OLE->new('Word.Application', 'Quit'); $Word->{'Visible'} = 1; $Word->Documents->Add || die("Unable to create document ", Win32::OLE- +>LastError()); my $MyRange = $Word->ActiveDocument->Content; my $mytxt = "Some Random Text"; # I'll fill this in later # add a table that is the header portion, 1 column by 1 row $Word->ActiveDocument->Tables->Add({ Range => $MyRange, NumRows => 1, NumColumns => 1, }); $Word->Selection->TypeText ({ Text => $mytxt}); $Word->Selection->MoveRight({Count => 1}); $Word->Selection->TypeText ({ Text => "A little more text"}); print Win32::OLE->LastError();
C-.

Replies are listed 'Best First'.
Re^2: MS WORD TABLES WITH WIN32::OLE
by babug_prg (Hermit) on Feb 19, 2008 at 09:14 UTC
    [[springer]] [[Springer_FT.xsl]] <?xml version="1.0"?> <!-- <?xml-stylesheet type="text/xsl" href="Springer_FT.xsl"?> <!DOCTYPE Chapter SYSTEM "check.ent"> --> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Tr +ansform" xmlns:saxon="http://saxon.sf.net/"> <xsl:output method="html"/> <xsl:template match="/"> <html> <head> <link rel="stylesheet" type="text/css" href="C:\Springer_Fulltext\Soft +wares\SPR_FTcs.css"/> <title>Springer Fulltext Viewer [INTEGRA] ver. 1.0</title> <table width="100%" border="0"> <tr><td width="10%" align="left"><img src="C:\iTools\wms\SPR-BWF\Tools +\TEC3.gif"/></td> <td width="70%" align="center"><span class="gen"><p align="center" sty +le="background-color: #00008B;width:400px;padding:10px;filter:shadow( +color:white);"><font size="6" color="white">Springer Viewer</font></p +></span></td> <td width="32%" align="right"><span class="dev"> <p><b>Version: 1.1</b></p></span> </td> </tr> </table> <hr size="2" color="#000080"/> <style media="screen"> Body { margin: 0; padding: 1.5em; border: 16px #666 ridge; scrollbar-face-color: yellow; scrollbar-shadow-color: red; scrollbar-highlight-color: green; scrollbar-3dlight-color: magenta; scrollbar-darkshadow-color: violet; scrollbar-track-color: #ccccff; scrollbar-arrow-color: black; } span.indexTerm{ background-color: lightgreen } div.pub{ background-repeat: repeat; background-attachment: fixed; background-position: top; } span.Outputmedium{ background-color: lightgreen } img.Fig { border: 4px double #666; padding: 25px; } a:active { background-color: orange; font-size: 35pt } a:hover{ background-color: orange; font-size: 15pt } </style> </head> <!--background="Test.bmp"--> <body onload="window.status='Welcome to Springer @ Integra Software Se +rvices Pvt. Ltd'"> <xsl:apply-templates/> </body> </html> </xsl:template> <!--Calling root element Publisher --> <xsl:template match="Publisher"> <br/> <div style="background-color: #00008B;"><font color="white"><b>Publish +erMetadata</b></font></div> <br/> <xsl:apply-templates/> </xsl:template> <xsl:template match="//PublisherInfo"> <p style="background-color: #00008B"><font color="white"><b>PublisherI +nfo</b></font></p> <table width="100%"> <xsl:apply-templates/></table> </xsl:template> <xsl:template match="//PublisherInfo/PublisherName"> <tr><td width="20%"><font color="#000080"><xsl:text>PublisherName</xsl +:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//PublisherInfo/PublisherLocation"> <tr><td width="20%"><font color="#000080"><xsl:text>PublisherLocation< +/xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//PublisherInfo/PublisherURL"> <tr><td width="20%"><font color="#000080"><xsl:text>PublisherURL</xsl: +text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//PublisherInfo/CoPublisher"> <tr><td width="20%"><font color="#000080"><xsl:text>CoPublisher</xsl:t +ext></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="comment()"> <span style="background-color: silver"><font size="+2">&#x00AB;</font> +--<font color="lightsilver"><b>Query:</b></font>&#x00A0;<tt><xsl:valu +e-of select="."/></tt>--<font size="+2">&#x00BB;</font></span> </xsl:template> <xsl:template match="Dedication"> <br/><div title="Dedication Page" style="border-left: 1pt solid pink; +border-right: 1pt solid pink; border-bottom: 1pt solid pink; border-t +op: 1pt solid pink"> <p align="center" style="background-color: #00008B"><font color="white +"><b>Dedication Page</b></font></p> <xsl:apply-templates/></div><br/> </xsl:template> <xsl:template match="Dedication/SimplePara"> <p><xsl:apply-templates/></p> </xsl:template> <xsl:template match="CopyRightPage"> <p align="center" style="background-color: #00008B"><font color="white +"><b>CopyRightPage</b></font></p> <div title="CopyRightPage" style="border-left: 1pt solid pink; border- +right: 1pt solid pink; border-bottom: 1pt solid pink; border-top: 1pt + solid pink"> <xsl:apply-templates/></div><br/> </xsl:template> <xsl:template match="Preface"> <div title="Preface Page" style="border-left: 1pt solid pink; border-r +ight: 1pt solid pink; border-bottom: 1pt solid pink; border-top: 1pt +solid pink"><xsl:apply-templates/></div><br/> </xsl:template> <xsl:template match="PrefaceInfo"> <p style="background-color: #00008B"><font color="white"><b>PrefaceInf +o</b></font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="PrefaceTitle"> <p align="center"><font size="+1" color="#000080"><b><xsl:apply-templa +tes/></b></font></p> </xsl:template> <xsl:template match="Foreword"> <div title="Foreword" style="border-left: 1pt solid pink; border-right +: 1pt solid pink; border-bottom: 1pt solid pink; border-top: 1pt soli +d pink"><xsl:apply-templates/></div><br/> </xsl:template> <xsl:template match="ForewordInfo"> <p style="background-color: #00008B"><font color="white"><b>ForewordIn +fo</b></font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="ForewordDOI"> <font color="blue"><b>ForewordDOI</b></font>:&#x00A0;<xsl:apply-templa +tes/> </xsl:template> <xsl:template match="ForewordTitle"> <p align="center"><font size="+1" color="#000080"><b><xsl:apply-templa +tes/></b></font></p> </xsl:template> <xsl:template match="Series"> <xsl:apply-templates/> </xsl:template> <xsl:template match="SeriesInfo"> <p style="background-color: #00008B"><font color="white"><b>SeriesInfo +</b></font></p> <table width="100%"><xsl:apply-templates/></table> </xsl:template> <xsl:template match="SeriesID"> <tr><td width="20%"><font color="#000080"><xsl:text>SeriesID</xsl:text +></font></td> <td><xsl:value-of select="."/></td></tr> </xsl:template> <xsl:template match="SeriesPrintISSN"> <tr><td width="20%"><font color="#000080"><xsl:text>SeriesPrintISSN</x +sl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="SeriesElectronicISSN"> <tr><td width="20%"><font color="#000080"><xsl:text>SeriesElectronicIS +SN</xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="SeriesTitle"> <tr><td width="20%"><font color="#000080"><xsl:text>SeriesTitle</xsl:t +ext></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="SeriesSubTitle"> <tr><td width="20%"><font color="#000080"><xsl:text>SeriesSubTitle</xs +l:text></font></td> <td><xsl:apply-templates/></td> </tr> </xsl:template> <xsl:template match="SeriesAbbreviatedTitle"> <tr><td width="20%"><font color="#000080"><xsl:text>SeriesAbbreviatedT +itle</xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="SeriesHeader"> <p><font color="#000080"><xsl:text>SeriesHeader</xsl:text></font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="SeriesHeader//EditorGroup"> <p> <font color="#000080"><xsl:text>EditorGroup</xsl:text></font> <xsl:apply-templates/> </p> </xsl:template> <xsl:template match="BookHeader//EditorGroup"> <br/><br/><div width="100%" border="0" cellspacing="0"> <font color="#000080"><xsl:text>EditorGroup</xsl:text></font><br/> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="//ChapterHeader//AuthorGroup"> <br/><div width="100%" border="0" cellspacing="0"> <p style="background-color: green; margin-bottom: -13pt"><font color=" +white" size="+3">&#x00A0;&#x00A0; <xsl:value-of select="parent::Chapt +erHeader/preceding-sibling::ChapterInfo/child::ChapterNumber"/></font +></p> <p style="background-color: green"><font color="white" size="+3">&#x00 +A0;&#x00A0; <xsl:value-of select="parent::ChapterHeader/preceding-sib +ling::ChapterInfo/child::ChapterTitle"/></font></p> <p style="background-color: green; margin-top: -13pt" align="center">< +font color="white" size="5">Copyright&#x00A0;&#x00A9;&#x00A0; <xsl:va +lue-of select="parent::ChapterHeader/preceding-sibling::ChapterInfo/c +hild::ChapterCopyright/CopyrightHolderName"/>&#x00A0;&#x00A0;<xsl:val +ue-of select="parent::ChapterHeader/preceding-sibling::ChapterInfo/ch +ild::ChapterCopyright/CopyrightYear"/></font></p> <xsl:variable name="count"> <xsl:value-of select="count(//ChapterHeader//Affiliation)"/> </xsl:variable><br/> <xsl:variable name="aff"> <xsl:for-each select="//ChapterHeader//Affiliation[1]"> <xsl:value-of select="."/> </xsl:for-each> </xsl:variable> <xsl:variable name="aff1"> <xsl:for-each select="//ChapterHeader//Affiliation[1]/following::Affil +iation[1]"> <xsl:value-of select="."/> </xsl:for-each> </xsl:variable> <xsl:variable name="aff2"> <xsl:for-each select="//ChapterHeader//Affiliation[1]/following::Affil +iation[2]"> <xsl:value-of select="."/> </xsl:for-each> </xsl:variable> <xsl:variable name="aff3"> <xsl:for-each select="//ChapterHeader//Affiliation[1]/following::Affil +iation[3]"> <xsl:value-of select="."/> </xsl:for-each> </xsl:variable> <xsl:variable name="aff4"> <xsl:for-each select="//ChapterHeader//Affiliation[1]/following::Affil +iation[4]"> <xsl:value-of select="."/> </xsl:for-each> </xsl:variable> <xsl:variable name="aff5"> <xsl:for-each select="//ChapterHeader//Affiliation[1]/following::Affil +iation[5]"> <xsl:value-of select="."/> </xsl:for-each> </xsl:variable> <xsl:variable name="aff6"> <xsl:for-each select="//ChapterHeader//Affiliation[1]/following::Affil +iation[6]"> <xsl:value-of select="."/> </xsl:for-each> </xsl:variable> <!--<xsl:value-of select="$aff"/> <xsl:value-of select="$aff1"/> <xsl:value-of select="$aff2"/> <xsl:value-of select="$aff3"/> <xsl:value-of select="$aff4"/> <xsl:value-of select="$aff5"/> <xsl:value-of select="$aff6"/>--> <xsl:if test="$count = '6'"> <xsl:choose> <xsl:when test="$aff = $aff1"> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$aff = $aff2"> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$aff = $aff3"> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$aff = $aff4"> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$aff = $aff5"> <font color="red"><b>Check all affiliations are same content</b></font +><br/> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="$count = '5'"> <xsl:choose> <xsl:when test="$aff = $aff1"> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$aff = $aff2"> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$aff = $aff3"> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$aff = $aff4"> <font color="red"><b>Check all affiliations are same content</b></font +><br/> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="$count = '4'"> <xsl:choose> <xsl:when test="$aff = $aff1"> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$aff = $aff2"> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$aff = $aff3"> <font color="red"><b>Check all affiliations are same content</b></font +><br/> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="$count = '3'"> <xsl:choose> <xsl:when test="$aff = $aff1"> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$aff = $aff2"> <font color="red"><b>Check all affiliations are same content</b></font +><br/> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="$count = '2'"> <xsl:choose> <xsl:when test="$aff = $aff1"> <font color="red"><b>Check all affiliations are same content</b></font +><br/> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="//Editor"> <br/><font face="Palatino Linotype" color="#000080">AffiliationIDS:</f +ont>&#x00A0;<a><xsl:attribute name="href">#<xsl:value-of select="@Aff +iliationIDS"/></xsl:attribute><xsl:value-of select="@AffiliationIDS"/ +></a><br/> <xsl:apply-templates/> </xsl:template> <xsl:template match="//Author[@CorrespondingAffiliationID]"> <xsl:if test="//Contact"> <font size="+1">Chapater must be with atleast one Contact Info</font> </xsl:if> </xsl:template> <xsl:template match="//Author"> <xsl:if test="@CorrespondingAffiliationID"> <br/><br/><font face="Palatino Linotype" color="#000080">Corresponding + Author</font><hr color="gray" size="1"/> </xsl:if> <xsl:if test="not(@CorrespondingAffiliationID)"> <hr color="gray" size="1"/> </xsl:if><br/> <font size="+1"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="//AuthorName"> <!--@AffiliationIDS--> <xsl:variable name="caff" select="parent::Author/@CorrespondingAffilia +tionID"/> <xsl:variable name="raff" select="parent::Author/@AffiliationIDS"/> <xsl:if test="$caff=$raff"> <font size="+2"><xsl:apply-templates/><sup><a href="#{$caff}"><xsl:val +ue-of select="substring-after($caff, 'Aff')"/></a></sup></font> </xsl:if> <xsl:if test="$caff != $raff"> <font size="+2"><xsl:apply-templates/><sup><a href="#{$caff}"><xsl:val +ue-of select="substring-after($caff, 'Aff')"/></a>, <a href="#{$raff} +"><xsl:value-of select="substring-after($raff, 'Aff')"/></a></sup></f +ont> </xsl:if> <xsl:if test="not(parent::Author[@CorrespondingAffiliationID])"> <xsl:variable name="naff" select="parent::Author/@AffiliationIDS"/> <xsl:apply-templates/><b><sup><a href="#{$naff}"><xsl:value-of select= +"substring-after($naff, 'Aff')"/></a></sup></b> </xsl:if> </xsl:template> <xsl:template match="//GivenName"> <font color="#9932CC"><xsl:apply-templates/><xsl:text> </xsl:text></fo +nt> </xsl:template> <xsl:template match="//Particle"> <font color="green"><xsl:apply-templates/><xsl:text> </xsl:text></font +> </xsl:template> <xsl:template match="//FamilyName"> <font color="#B22222"><xsl:apply-templates/><xsl:text> </xsl:text></fo +nt> </xsl:template> <xsl:template match="//Email"> <br/><font color="#696969"><xsl:apply-templates/><xsl:text> </xsl:text +></font> </xsl:template> <xsl:template match="//Phone"> <br/><font color="#696969"><xsl:apply-templates/><xsl:text> </xsl:text +></font> </xsl:template> <xsl:template match="//Fax"> <br/><font color="#696969"><xsl:apply-templates/><xsl:text> </xsl:text +></font> </xsl:template> <xsl:template match="//URL"> <br/><font color="#696969"><xsl:apply-templates/><xsl:text> </xsl:text +></font> </xsl:template> <xsl:template match="//Role"> <br/><font color="#E9967A"><xsl:apply-templates/><xsl:text> </xsl:text +></font> </xsl:template> <xsl:template match="//Affiliation"> <br/><br/><hr size="1"/><a name="{@ID}"></a> <font color="#E9967A">Affiliation ID:</font>&#x00A0;<xsl:value-of sele +ct="@ID"/>&#x00A0;&#x00A0;<br/><br/> <font size="+1"><xsl:apply-templates/></font><br/> </xsl:template> <xsl:template match="//OrgDivision"> <font color="#4682B4"><xsl:text>OrgDivision: </xsl:text></font><xsl:ap +ply-templates/><br/> </xsl:template> <xsl:template match="//OrgName"> <font color="#4682B4"><xsl:text>OrgName: &#x00A0;&#x00A0;&#x00A0;</xsl +:text></font><xsl:apply-templates/><br/> </xsl:template> <xsl:template match="//Street"> <font color="#4682B4"><xsl:text>Street: &#x00A0;&#x00A0;&#x00A0;&#x00A +0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;</xsl:text></font><xsl:appl +y-templates/><br/> </xsl:template> <xsl:template match="//Postcode"> <font color="#4682B4"><xsl:text>Postcode: &#x00A0;&#x00A0;&#x00A0;&#x0 +0A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;</xsl:text></font><xsl:ap +ply-templates/><br/> </xsl:template> <xsl:template match="//Contact"> <br/><font color="#4682B4"><xsl:text></xsl:text></font><xsl:apply-temp +lates/> </xsl:template> <xsl:template match="//Phone"> <br/><font color="#4682B4"><xsl:text>Phone: </xsl:text></font><xsl:app +ly-templates/><br/> </xsl:template> <xsl:template match="//Fax"> <font color="#4682B4"><xsl:text>Fax: &#x00A0;&#x00A0;&#x00A0;&#x00A0;< +/xsl:text></font><xsl:apply-templates/> </xsl:template> <xsl:template match="//Email"> <br/><xsl:variable name="em"><xsl:value-of select="."/></xsl:variable> <font color="#4682B4"><xsl:text>Email: </xsl:text></font><a href="mail +to:{$em}"><font color="#9932CC"><xsl:apply-templates/></font></a>&#x0 +0A0;&#x00A0;<font color="red"><b>Check email with Final Print PDF</b> +</font><br/> </xsl:template> <xsl:template match="//URL"> <xsl:variable name="ur"><xsl:value-of select="."/></xsl:variable> <font color="#4682B4"><xsl:text>URL: </xsl:text></font><a href="{$ur}" +><xsl:apply-templates/></a><br/> </xsl:template> <xsl:template match="//PostBox"> <font color="#4682B4"><xsl:text>PostBox: </xsl:text></font><xsl:apply- +templates/><br/> </xsl:template> <xsl:template match="//PostCode"> <font color="#4682B4"><xsl:text>PostCode: </xsl:text></font><xsl:apply +-templates/><br/> </xsl:template> <xsl:template match="//City"> <font color="#4682B4"><xsl:text>City: &#x00A0;&#x00A0;&#x00A0;&#x00A0; +&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;</xsl +:text></font> <xsl:value-of select="."/> <br/> </xsl:template> <xsl:template match="//State"> <font color="#4682B4"><xsl:text>State: &#x00A0;&#x00A0;&#x00A0;&#x00A0 +;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;</xsl:text>< +/font><xsl:apply-templates/><br/> </xsl:template> <xsl:template match="//Country"> <font color="#4682B4"><xsl:text>Country:&#x00A0;&#x00A0;&#x00A0;&#x00A +0;&#x00A0;&#x00A0;&#x00A0;</xsl:text></font><xsl:apply-templates/><br +/> </xsl:template> <!--(Street | Postbox | Postcode | City | State | Country)*,--> <xsl:template match="//Book"> <xsl:apply-templates/><br/> </xsl:template> <xsl:template match="BookInfo"> <p style="background-color: #00008B"><font color="white"><b>BookInfo</ +b></font></p> <table width="100%"><xsl:apply-templates/></table> </xsl:template> <xsl:template match="BookID"> <tr><td width="20%"><font color="#000080"><xsl:text>BookID</xsl:text>< +/font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookTitle"> <tr><td width="20%"><font color="#000080"><xsl:text>BookTitle</xsl:tex +t></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookSubTitle"> <tr><td width="20%"><font color="#000080"><xsl:text>BookSubTitle</xsl: +text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookVolumeNumber"> <tr><td width="20%"><font color="#000080"><xsl:text>BookVolumeNumber</ +xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookSequenceNumber"> <tr><td width="20%"><font color="#000080"><xsl:text>BookSequenceNumber +</xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookDOI"> <tr><td width="20%"><font color="#000080"><xsl:text>BookDOI</xsl:text> +</font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookTitleID"> <tr><td width="20%"><font color="#000080"><xsl:text>BookTitle ID</xsl: +text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookPrintISBN"> <tr><td width="20%"><font color="#000080"><xsl:text>BookPrintISBN</xsl +:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookElectronicISBN"> <tr><td width="20%"><font color="#000080"><xsl:text>BookElectronicISBN +</xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <!--<xsl:template match="//Book/BookInfo/BookElectronicISBN"> <br/> <font color="#000080"><xsl:text>BookElectronicISBN</xsl:text></font> &#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;<xsl:apply-templates/> <br/> </xsl:template> <xsl:template match="//Book/BookInfo/BookElectronicISBN"> <br/> <font color="#000080"><xsl:text>BookElectronicISBN</xsl:text></font> &#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;<xsl:apply-templates/> <br/> </xsl:template>--> <xsl:template match="//Book/BookInfo/BookEdition"> <tr><td width="20%"><font color="#000080"><xsl:text>BookEdition</xsl:t +ext></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookChapterCount"> <tr><td width="20%"><font color="#000080"><xsl:text>BookChapterCount</ +xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookSeriesCategory"> <tr><td width="20%"><font color="#000080"><xsl:text>BookSeriesCategory +</xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="BookSeriesSubCategory"> <tr><td width="20%"><font color="#000080"><xsl:text>BookSeriesSubCateg +ory</xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <!--<xsl:template match="//Book/BookInfo"> <br/><br/><br/><br/><br/><br/> <p style="background-color: #00008B"><font color="white"><b>BookInfo</ +b></font></p> <xsl:apply-templates/><br/> </xsl:template>--> <!--<xsl:template match="//Book/BookInfo/BookHistory"> <br/><table width="100%" border="0" cellspacing="0" align="left"> <tr><td width="20%"><font color="#000080"><xsl:text>BookHistory</xsl:t +ext></font></td> <td width="60%"><xsl:apply-templates/></td> </tr> </table><br/> </xsl:template> <xsl:template match="//Book/BookInfo/BookHistory/OnlineDate"> <br/><br/><br/><table width="100%" border="0" cellspacing="0" align="l +eft"> <tr><td width="20%"></td> <td width="60%"><font color="#9400D3"><xsl:value-of select="Year"/><xs +l:text>-</xsl:text><xsl:value-of select="Month"/><xsl:text>-</xsl:tex +t><xsl:value-of select="Day"/></font><xsl:apply-templates/></td> </tr> </table><br/> </xsl:template> <xsl:template match="//Book/BookInfo/BookHistory/PrintDate"> <br/><table width="100%" border="0" cellspacing="0" align="left"> <tr><td width="20%"></td> <td width="60%"><font color="#9400D3"><xsl:value-of select="Year"/><xs +l:text>-</xsl:text><xsl:value-of select="Month"/><xsl:text>-</xsl:tex +t><xsl:value-of select="Day"/></font><xsl:apply-templates/></td> </tr> </table><br/> </xsl:template>--> <xsl:template match="//Book/BookInfo/BookCopyright"> <table width="100%"><xsl:apply-templates/></table> </xsl:template> <xsl:template match="//Book/BookInfo/BookContext"> <table width="100%"> <tr><td colspan="2"><p style="background-color: #00008B"><font color=" +white"><xsl:text>BookContext</xsl:text></font></p></td></tr> <tr><td width="20%"><font color="#000080"><xsl:text>SeriesID</xsl:text +></font></td> <td><xsl:value-of select="SeriesID"/></td></tr> </table> </xsl:template> <xsl:template match="//Book/BookInfo//BookCopyright"> <tr><td colspan="2"><p style="background-color: #00008B"><font color=" +white"><xsl:text>BookCopyright</xsl:text></font></p></td></tr> <tr><td width="20%"><font color="#000080"><xsl:text>CopyrightHolderNam +e</xsl:text></font></td> <td> <xsl:variable name="Cpryt"> <xsl:value-of select="CopyrightHolderName"/> </xsl:variable> <xsl:choose> <xsl:when test="starts-with($Cpryt, 'Springer Science+Business Media, +LLC')"><xsl:value-of select="CopyrightHolderName"/> </xsl:when> <xsl:when test="starts-with($Cpryt, 'Birkh&#x00E4;user Boston, a part +of Springer Science+Business Media, LLC')"><xsl:value-of select="Copy +rightHolderName"/></xsl:when> <xsl:when test="starts-with($Cpryt, 'Springer Science+Business Media B +.V.')"><xsl:value-of select="CopyrightHolderName"/> </xsl:when> <xsl:when test="starts-with($Cpryt, 'Springer-Verlag Berlin Heidelberg +')"><xsl:value-of select="CopyrightHolderName"/> </xsl:when> <xsl:when test="starts-with($Cpryt, 'Humana Press, a part of Springer +Science+Business Media, LLC')"><xsl:value-of select="CopyrightHolderN +ame"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="CopyrightHolderName"/>&#x00A0;&#x00A0;&#x00A0;&# +x00A0;<font color="red"><b>Check 'CopyrightHolderName' value is wrong +</b></font> </xsl:otherwise> </xsl:choose> </td></tr> <tr><td width="20%"><font color="#000080"><xsl:text>CopyrightYear</xsl +:text></font></td> <td><xsl:variable name="Cpyyr"> <xsl:value-of select="CopyrightYear"/> </xsl:variable> <xsl:choose> <xsl:when test="starts-with($Cpyyr, '2010')"> <xsl:value-of select="CopyrightYear"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="CopyrightYear"/>&#x00A0;&#x00A0;&#x00A0; <font color="red"><b>CopyrightYear is wrong. Please check with MS.</b> +</font> </xsl:otherwise> </xsl:choose></td> </tr> </xsl:template> <xsl:template match="//Book/BookInfo//BookSubjectGroup//BookSubject"> <xsl:if test="@Type='Primary'"> <table width="100%"> <tr> <td width="20%"><font color="#000080"><xsl:text>BookSubject&#x00A0;[Pr +imary]</xsl:text></font></td><td><xsl:text> </xsl:text><xsl:apply-tem +plates/></td> </tr> </table> </xsl:if> <xsl:if test="@Type='Secondary'"> <table width="100%"> <tr> <td width="20%"> <font color="#000080"><xsl:text>BookSubject&#x00A0;[Secondary]</xsl:te +xt></font></td><td><xsl:text> </xsl:text><xsl:apply-templates/> </td> </tr> </table></xsl:if> </xsl:template> <xsl:template match="//Book/BookInfo/BookCopyright/CopyrightHolderName +"></xsl:template> <xsl:template match="//Book/BookInfo/BookCopyright/CopyrightYear"></xs +l:template> <xsl:template match="Publisher/Series/Book/BookHeader | Publisher/Book +/BookHeader"> <br/> <p style="background-color: #00008B"> <font color="white"><xsl:text>BookHeader</xsl:text></font> </p> <xsl:apply-templates/> <br/> </xsl:template> <xsl:template match="LegalNotice"> <font color="#000080"><xsl:text>LegalNotice</xsl:text></font>&#x00A0;& +#x00A0;&#x00A0;&#x00A0;<xsl:apply-templates/> <br/> </xsl:template> <xsl:template match="//Book//BookFrontmatter//BookFrontmatterInfo"> <p style="background-color: #00008B"><font color="white"><b>BookFrontm +atterInfo</b></font></p> <table width="100%"><xsl:apply-templates/></table> </xsl:template> <xsl:template match="//Book//BookFrontmatter/BookFrontmatterInfo/BookF +rontmatterFirstPage | BookFrontmatterLastPage"> <tr><td width="20%"><font color="#000080"><xsl:value-of select="name() +"/></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//Book//BookBackmatter//BookBackmatterInfo"> <p style="background-color: #00008B"><font color="white"><b>BookBackma +tterInfo</b></font></p> <table width="100%"><xsl:apply-templates/> </table> </xsl:template> <xsl:template match="//Book//BookBackmatter/BookBackmatterInfo/BookBac +kmatterFirstPage | BookBackmatterLastPage"> <tr><td width="20%"><font color="#000080"><xsl:value-of select="name() +"/></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//Chapter"> <div> <p style="background-color: #00008B"><font color="white"><b>ChapterInf +o</b></font></p> <xsl:apply-templates/></div> </xsl:template> <xsl:template match="//ChapterInfo"> <table width="100%"> <xsl:apply-templates/></table> </xsl:template> <xsl:template match="//ChapterInfo/ChapterID"> <tr><td width="20%"><font color="#000080"><xsl:text>ChapterID</xsl:tex +t></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterNumber"> <tr><td width="20%"><font color="#000080"><xsl:text>ChapterNumber</xsl +:text></font></td> <td> <xsl:choose> <xsl:when test="starts-with(., 'Chapter')"> <xsl:value-of select="."/> </xsl:when> <xsl:otherwise> <xsl:value-of select="."/>&#x00A0;&#x00A0;&#x00A0;<font color="red"><b +>Check 'Chapter' text is missing</b></font> </xsl:otherwise> </xsl:choose> <xsl:variable name="chn" select="parent::ChapterInfo/@Language"/> <xsl:variable name="chnn" select="starts-with(., 'Chapter')"/> &#x00A0;&#x00A0;&#x00A0; <xsl:choose> <xsl:when test="$chn != 'En' and $chnn = 'Chapter'"> <font color="red" size="+1"><xsl:text>Check chapter Number contains te +xt chapter. But this book does not have Language=En</xsl:text></font> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterDOI"> <tr><td width="20%"><font color="#000080"><xsl:text>ChapterDOI</xsl:te +xt></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterSequenceNumber"> <tr><td width="20%"><font color="#000080"><xsl:text>ChapterSequenceNum +ber</xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterRelatedObject/RelatedObjectD +OI"> <tr><td width="20%"><font color="#000080"><xsl:text>RelatedObjectDOI</ +xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterTitle"> <tr><td width="20%"><font color="#000080"><xsl:text>ChapterTitle</xsl: +text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterSubTitle"> <tr><td width="20%"><font color="#000080"><xsl:text>ChapterSubTitle</x +sl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterCategory"> <tr><td width="20%"><font color="#000080"><xsl:text>ChapterCategory</x +sl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterSubCategory"> <tr><td width="20%"><font color="#000080"><xsl:text>ChapterSubCategory +</xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterFirstPage"> <tr><td width="20%"><font color="#000080"><xsl:text>ChapterFirstPage</ +xsl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterLastPage"> <tr><td width="20%"><font color="#000080"><xsl:text>ChapterLastPage</x +sl:text></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterCopyright"> <table width="100%"><xsl:apply-templates/></table><br/> </xsl:template> <xsl:template match="//ChapterInfo/ChapterHistory"> <table width="100%"><xsl:apply-templates/></table> </xsl:template> <xsl:template match="//ChapterInfo/ChapterHistory/OnlineDate/Year|Mont +h|Day"> <tr><td colspan="2"><p style="background-color: #00008B"><font color=" +white"><b>OnlineDate</b></font></p></td></tr> <tr><td width="20%"><font color="#000080"><xsl:value-of select="name() +"/></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterClassification/Classificatio +nGroup"> <table width="100%"><xsl:apply-templates/></table> </xsl:template> <xsl:template match="//ChapterInfo/ChapterHistory/RegistrationDate"> <tr><td colspan="2"><p style="background-color: #00008B"><font color=" +white"><b>RegistrationDate</b></font></p></td></tr> <xsl:apply-templates/> </xsl:template> <xsl:template match="//ChapterInfo/ChapterHistory/RegistrationDate/Yea +r|Month|Day"> <tr><td width="20%"><font color="#000080"><xsl:value-of select="name() +"/></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterClassification/Classificatio +nGroup"> <table width="100%"><xsl:apply-templates/></table> </xsl:template> <xsl:template match="//ChapterInfo/ChapterClassification/Classificatio +nGroup/CharacteristicValue"> <tr><td width="20%"><font color="#000080"><xsl:value-of select="name() +"/></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterGrants"> <table width="100%"><xsl:apply-templates/></table> </xsl:template> <xsl:template match="//ChapterInfo/ChapterGrants/MetadataGrant|Abstrac +tGrant|BodyPDFGrant|BodyHTMLGrant|BibliographyGrant|ESMGrant"> <tr><td width="20%"><font color="#000080"><xsl:value-of select="name() +"/></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo/ChapterContext"> <table width="100%"> <tr><td colspan="2"><p style="background-color: #00008B"><font color=" +white"><b>ChapterContext</b></font></p></td></tr> <xsl:apply-templates/></table> <hr color="red" size="2"/> </xsl:template> <xsl:template match="//ChapterInfo/ChapterContext/SeriesID|BookSetID|B +ookSetTitle|PartID|BookID|BookTitle"> <tr><td width="20%"><font color="#000080"><xsl:value-of select="name() +"/></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//ChapterInfo//ChapterCopyright"> <tr><td colspan="2"><p style="background-color: #00008B"><font color=" +white"><xsl:text>ChapterCopyright</xsl:text></font></p></td></tr> <tr><td width="20%"><font color="#000080"><xsl:text>CopyrightHolderNam +e</xsl:text></font></td> <td> <xsl:variable name="Cpryt"> <xsl:value-of select="CopyrightHolderName"/> </xsl:variable> <xsl:choose> <xsl:when test="starts-with($Cpryt, 'Springer Science+Business Media, +LLC')"><xsl:value-of select="CopyrightHolderName"/> </xsl:when> <xsl:when test="starts-with($Cpryt, 'Birkh&#x00E4;user Boston, a part +of Springer Science+Business Media, LLC')"><xsl:value-of select="Copy +rightHolderName"/></xsl:when> <xsl:when test="starts-with($Cpryt, 'Springer Science+Business Media B +.V.')"><xsl:value-of select="CopyrightHolderName"/> </xsl:when> <xsl:when test="starts-with($Cpryt, 'Springer-Verlag Berlin Heidelberg +')"><xsl:value-of select="CopyrightHolderName"/> </xsl:when> <xsl:when test="starts-with($Cpryt, 'Humana Press, a part of Springer +Science+Business Media, LLC')"><xsl:value-of select="CopyrightHolderN +ame"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="CopyrightHolderName"/>&#x00A0;&#x00A0;&#x00A0;&# +x00A0;<font color="red"><b>Check 'CopyrightHolderName' value is wrong +</b></font> </xsl:otherwise> </xsl:choose> </td> </tr> <tr><td width="20%"><font color="#000080"><xsl:text>CopyrightYear</xsl +:text></font></td> <td> <xsl:variable name="Cpyyr"> <xsl:value-of select="CopyrightYear"/> </xsl:variable> <xsl:choose> <xsl:when test="starts-with($Cpyyr, '2010')"> <xsl:value-of select="CopyrightYear"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="CopyrightYear"/>&#x00A0;&#x00A0;&#x00A0; <font color="red"><b>CopyrightYear is wrong. Please check with MS.</b> +</font> </xsl:otherwise> </xsl:choose> </td> </tr> </xsl:template> <xsl:template match="//Chapter/ChapterInfo/ChapterClassification"> <br/><font color="#000080"><xsl:text>ChapterClassification:&#x00A0;&#x +00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;</xsl:te +xt></font> <xsl:apply-templates/> <br/> </xsl:template> <xsl:template match="//Chapter/ChapterInfo/ChapterContext/SeriesID"> <tr><td colspan="2"><p style="background-color: #00008B"><b><font colo +r="white">ChapterContext:</font></b></p></td></tr> <tr><td width="20%"><font color="#000080"><xsl:text>SeriesID: </xsl:te +xt></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//Chapter/ChapterInfo/ChapterContext/PartID"> <tr><td width="20%"><font color="#000080"><xsl:text>PartID: </xsl:text +></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//Chapter/ChapterInfo/ChapterContext/BookID"> <tr><td width="20%"><font color="#000080"><xsl:text>BookID: </xsl:text +></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//Chapter/ChapterInfo/ChapterContext/BookTitle"> <tr><td width="20%"><font color="#000080"><xsl:text>BookTitle: </xsl:t +ext></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//Book/Chapter/ChapterHeader"> <br/> <p style="background-color: #00008B"><font color="white"><b>ChapterHea +der</b></font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="//Chapter/ChapterHeader/PageHeaders"> <table width="100%"><xsl:apply-templates/></table> </xsl:template> <xsl:template match="//Chapter/ChapterHeader/PageHeaders/OpeningHeader +|RunningTitle|RunningAuthor"> <tr><td width="20%"><font color="#000080"><xsl:value-of select="name() +"/></font></td> <td><xsl:apply-templates/></td></tr> </xsl:template> <xsl:template match="//Chapter/ChapterHeader/ArticleNote"> <table style="border-top: 0pt" align="left" border="1"> <tr><td width="20%"> <a name="{@ID}"></a><p style="background-color: #00008B"><font color=" +white"><b>ArticleNote</b> <xsl:if test="@Type"> [Type = "<xsl:value-o +f select="@Type"/>"</xsl:if>]</font></p> <xsl:apply-templates/></td></tr> </table><br/><br/> </xsl:template> <xsl:template match="//Body"> <br/><br/><br/><p align="center" style="background-color: white; borde +r-bottom: 1pt green solid; border-top: 1pt green solid">&#x00A0;<img +src="C:\iTools\wms\SPR-BWF\Tools\endtag.gif"/>&#x00A0;<font color="bl +ue" size="4"><b>Body Start Here</b></font>&#x00A0;<img src="C:\iTools +\wms\SPR-BWF\Tools\starttag.gif"/>&#x00A0;</p> <xsl:apply-templates/> <br/><br/> </xsl:template> <xsl:template match="//FormalPara"> <p style="background-color: #00008B"><font color="white"><b>FormalPara +</b></font></p> <p><xsl:apply-templates/></p><br/><br/> </xsl:template> <xsl:template match="//Heading"> <p><xsl:apply-templates/></p> </xsl:template> <xsl:template match="//Stack"> <xsl:apply-templates/> </xsl:template> <xsl:template match="//InternalRef"> <a href="#{@RefID}" title="{@RefID}" style="text-decoration: none"><xs +l:apply-templates/></a> </xsl:template> <xsl:template match="//CitationRef"> <a class="cit" href="#{@CitationID}" title="{@CitationID}" style="text +-decoration: none"><xsl:apply-templates/></a> </xsl:template> <xsl:template match="Equation//EquationSource | InlineEquation//Equati +onSource"> <!--<OBJECT ID="matrix" TYPE="application/x-techexplorer" CLASSID="cls +id:5AFAB315-AD87-11D3-98BB-002035EFB1A4">--> <OBJECT ID="matrix" TYPE="application/x-techexplorer" CLASSID="clsid:5 +AFAB315-AD87-11D3-98BB-002035EFB1A4"> <PARAM NAME="AutoSize" VALUE="TRUE"/> <PARAM NAME="DataType" VALUE="0"/> <PARAM NAME="Data"> <xsl:attribute name="value"> \def\boldsymbol#1{\bold {#1}} \def\skew#1{{\,}} \def\leqslant{\leq} \def\eskip#1{} $<xsl:apply-templates/>$</xsl:attribute> </PARAM> </OBJECT> </xsl:template> <!--<xsl:template match="//InlineEquation//EquationSource | //Equation +//EquationSource"> <object id="MathPlayer" classid="clsid:32F66A20-7614-11D4-BD11-00104BD +3F987" codebase="http://www.dessci.com/dl/mathplayer.cab"> </object> <OBJECT> <xsl:attribute name="ID"><xsl:value-of select="(concat('name',count(// +MATH) - count(following::MATH)))"/></xsl:attribute> <xsl:attribute name="CLASSID">clsid:5AFAB315-AD87-11D3-98BB-002035EFB1 +A4</xsl:attribute> <PARAM><xsl:attribute name="NAME">AutoSize</xsl:attribute><xsl:attribu +te name="VALUE">TRUE</xsl:attribute></PARAM> <PARAM><xsl:attribute name="NAME">DataType</xsl:attribute><xsl:attribu +te name="VALUE">0</xsl:attribute></PARAM> <PARAM><xsl:attribute name="NAME">Data</xsl:attribute><xsl:attribute n +ame="VALUE">$$ \def\rm#1{\ifmmode\mathrm{#1}\else\fi} \def\bf#1{\ifmmode\mathbf{#1}\else\fi} <xsl:apply-templates/>$$</xsl:attribute></PARAM> </OBJECT> </xsl:template>--> <xsl:template match="//Equation">&#32; <table width="70%" style="border-left: 1pt solid grey; border-right: 1 +pt solid grey; border-bottom: 1pt solid grey; border-top: 1pt solid g +rey" align="center"><tr><td> <xsl:if test="child::EquationNumber"> <font color="darkgreen"><b>Display Numbered&#160;</b></font> </xsl:if> <xsl:if test="not(child::EquationNumber)"> <font color="darkgreen"><b>Display UnNumbered&#160;</b></font> </xsl:if> <xsl:apply-templates/><xsl:text>&#x00A0;&#x00A0;&#x00A0;&#x00A0;</xsl: +text></td><td width="10%"><font size="+1" color="darkgreen"><b><xsl:v +alue-of select="EquationNumber"/></b></font></td></tr></table> </xsl:template> <xsl:template match="//EquationNumber"></xsl:template> <xsl:template match="Footnote"> <a name="{@id}"></a> <span class="tagn"><b><font size="2"><xsl:text>FOOTNOTE</xsl:text></fo +nt></b></span> &#x00A0;<font color="darkgreen"><b><xsl:value-of select="@ID"/></b></f +ont> <font color="darkyellow">&#x00A0;<b><xsl:apply-templates/></b></font> </xsl:template> <xsl:template match="//Sidebar"> <br/><br/><br/> <table width="80%" align="center" border="2" title="Side Bar"> <tr><td width="20%"> <a name="{@ID}"></a><p style="background-color: #00008B"><font color=" +white"><b>Sidebar</b> <xsl:if test="@ID"> [Type = "<xsl:value-of sele +ct="@Type"/>"</xsl:if> <xsl:if test="@Float">Float = "<xsl:value-of s +elect="@Float"/>"</xsl:if><xsl:if test="@ID | @Float">]</xsl:if></fon +t></p> <xsl:apply-templates/></td></tr> </table><br/><br/> </xsl:template> <xsl:template match="//ArticleNote"> <div title="ArticleNote" width="80%" align="left" border="2"> <tr><td width="20%"> <a name="{@ID}"></a><p style="background-color: #00008B"><font color=" +white"><b>ArticleNote</b> [Type = "<xsl:value-of select="@Type"/>"]< +/font></p> <xsl:apply-templates/></td></tr> </div> </xsl:template> <xsl:template match="//Figure[@Float='Yes']"> <div width="80%" style="border: 2pt double majenta; margin-top: 4pt;pa +dding: 5pt"> <a name="{@ID}"></a><p style="background-color: #00008B"><font color=" +white"><b>Figure</b> [ID = "<xsl:value-of select="@ID"/>" Float = "<x +sl:value-of select="@Float"/>"]</font></p> <xsl:for-each select="MediaObject/ImageObject/@FileRef"> <xsl:variable name="nnn" select="."/> <xsl:choose> <xsl:when test="contains($nnn, '.jpg')"> <p align="center"><img class="Fig"><xsl:attribute name="src"> <xsl:variable name="hhh" select="//ChapterInfo/ChapterContext/BookID"/ +> <xsl:variable name="immg">\\172.16.255.101\springerwms\wms-Graphics\B- +<xsl:value-of select="$hhh"/>\05_Images\04_D_Queen\01_Images\Online\< +/xsl:variable> <xsl:value-of select="$immg"/><xsl:value-of select="$nnn"/> </xsl:attribute></img></p> <p align="center"><img class="Fig"><xsl:attribute name="src"> <xsl:variable name="hhh" select="//ChapterInfo/ChapterContext/BookID"/ +> <xsl:variable name="imng">\\172.16.255.101\springerwms\wms-Graphics\B- +<xsl:value-of select="$hhh"/>\05_Images\03_Knight\01_Images\Online\</ +xsl:variable> <xsl:value-of select="$imng"/><xsl:value-of select="$nnn"/> </xsl:attribute></img> <xsl:if test="//BookInfo//BookID and not(//ChapterInfo/ChapterContext/ +BookID)"> <img class="Fig"><xsl:attribute name="src"> <xsl:variable name="hhh2" select="//BookInfo//BookID"/> <xsl:variable name="immg2">\\172.16.255.101\springerwms\wms-Graphics\B +-<xsl:value-of select="$hhh2"/>\05_Images\04_D_Queen\01_Images\Online +\</xsl:variable> <xsl:value-of select="$immg2"/><xsl:value-of select="$nnn"/> </xsl:attribute></img> </xsl:if> </p> <p align="center"><span class="tagn"><xsl:text>[FileRef = </xsl:text> <xsl:value-of select="$nnn"/>]</span></p> <br/> </xsl:when> <xsl:when test="contains($nnn, '.gif')"> <p align="center"><img class="Fig"><xsl:attribute name="src"> <!--<xsl:variable name="immg" select="\\172.16.255.101\springerwms\wms +-Graphics\B-162453_1_En\05_Images\04_D_Queen\01_Images\Online\"/> <xsl:value-of select="$immg"/>--> <xsl:variable name="hhh" select="//ChapterInfo/ChapterContext/BookID"/ +> <xsl:variable name="immg">\\172.16.255.101\springerwms\wms-Graphics\B- +<xsl:value-of select="$hhh"/>\05_Images\04_D_Queen\01_Images\Online\< +/xsl:variable> <xsl:value-of select="$immg"/><xsl:value-of select="$nnn"/> </xsl:attribute></img> <xsl:if test="//BookInfo//BookID and not(//ChapterInfo/ChapterContext/ +BookID)"> <img class="Fig"><xsl:attribute name="src"> <xsl:variable name="hhh1" select="//BookInfo//BookID"/> <xsl:variable name="immg1">\\172.16.255.101\springerwms\wms-Graphics\B +-<xsl:value-of select="$hhh1"/>\05_Images\04_D_Queen\01_Images\Online +\</xsl:variable> <xsl:value-of select="$immg1"/><xsl:value-of select="$nnn"/> </xsl:attribute></img> </xsl:if> </p> <p align="center"><img class="Fig"><xsl:attribute name="src"> <!--<xsl:variable name="immg" select="\\172.16.255.101\springerwms\wms +-Graphics\B-162453_1_En\05_Images\04_D_Queen\01_Images\Online\"/> <xsl:value-of select="$immg"/>--> <xsl:variable name="hhh" select="//ChapterInfo/ChapterContext/BookID"/ +> <xsl:variable name="imng">\\172.16.255.101\springerwms\wms-Graphics\B- +<xsl:value-of select="$hhh"/>\05_Images\03_Knight\01_Images\Online\</ +xsl:variable> <xsl:value-of select="$imng"/><xsl:value-of select="$nnn"/> </xsl:attribute></img></p> <p align="center"><span class="tagn"><xsl:text>[FileRef = </xsl:text> <xsl:value-of select="$nnn"/>]</span></p> <br/> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> </xsl:for-each> <p><font color="blue" size="+1"><xsl:value-of select="Caption/CaptionN +umber"/></font>&#x00A0;&#x00A0; <font size="+1"><xsl:apply-templates select="Caption/CaptionContent/Si +mplePara"/></font></p> </div><br/> </xsl:template> <xsl:template match="ImageObject"> <div style="border: 2pt double majenta; margin-top: 4pt;padding: 5pt"> <img> <xsl:attribute name="src"> <xsl:value-of select="@FileRef"/></xsl:attribute> </img></div> </xsl:template> <xsl:template match="//Figure[@Float='No']"> <div width="80%" style="border: 2pt double majenta; margin-top: 4pt;pa +dding: 5pt"> <a name="{@ID}"></a><p style="background-color: #00008B"><font color=" +white"><b>Figure</b> [ID = "<xsl:value-of select="@ID"/>" Float = "<x +sl:value-of select="@Float"/>"]</font></p> <xsl:for-each select="MediaObject/ImageObject/@FileRef"> <xsl:variable name="nnn" select="."/> <xsl:choose> <xsl:when test="contains($nnn, '.jpg')"> <p align="center"><img class="Fig"><xsl:attribute name="src"> <xsl:value-of select="$nnn"/> </xsl:attribute></img></p> <p align="center"><span class="tagn"><xsl:text>[FileRef = </xsl:text> <xsl:value-of select="$nnn"/>]</span></p> <br/> </xsl:when> <xsl:when test="contains($nnn, '.gif')"> <p align="center"><img class="Fig"><xsl:attribute name="src"> <xsl:value-of select="$nnn"/> </xsl:attribute></img></p> <p align="center"><span class="tagn"><xsl:text>[FileRef = </xsl:text> <xsl:value-of select="$nnn"/>]</span></p> <br/> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> </xsl:for-each> <p><font color="blue" size="+1"><xsl:value-of select="Caption/CaptionN +umber"/></font>&#x00A0;&#x00A0; <font size="+1"><xsl:apply-templates select="Caption/CaptionContent/Si +mplePara"/></font></p> </div><br/> </xsl:template> <xsl:template match="//Table"> &#x00A0;<div style="border: 2pt double majenta"> <a name="{@ID}"></a><p style="background-color: #00008B"><font color=" +white"><b>Table</b> [ID = "<xsl:value-of select="@ID"/>" Float = "<xs +l:value-of select="@Float"/>"]</font></p> <p><font color="blue" size="+1"><xsl:value-of select="Caption/CaptionN +umber"/></font>&#x00A0;&#x00A0; <font size="+1"><xsl:apply-templates select="Caption/CaptionContent/Si +mplePara"/></font></p> <xsl:call-template name="c_Table"/> <xsl:call-template name="c_Tablefooter"/></div><br/> </xsl:template> <xsl:template match="//OrderedList"> <p style="background-color: #00008B"><font color="white"><b>OrderedLis +t</b></font></p> <ol style="list-style-type: None"> <xsl:apply-templates/> </ol> </xsl:template> <xsl:template match="//Para"> <p><b><font color="Blue">Para:</font></b>&#160; <xsl:apply-templates/></p> </xsl:template> <xsl:template match="ListItem"> <p style="margin-left: 20pt; text-indent: -21pt"><xsl:for-each select= +"ItemNumber"> &#x00A0;&#x00A0;<xsl:apply-templates/><xsl:text> </xsl:text> </xsl:for-each> <xsl:for-each select="ItemContent/Para"> <xsl:apply-templates/><br/> </xsl:for-each></p> </xsl:template> <xsl:template match="UnorderedList"> <p style="background-color: #00008B"><font color="white"><b>UnorderedL +ist</b> <xsl:text> [</xsl:text><xsl:if test="@Mark">Mark = "<xsl:valu +e-of select="@Mark"/>"</xsl:if><xsl:text>]</xsl:text></font></p> <ul> <xsl:choose> <xsl:when test="@Mark = 'None'"> <xsl:attribute name="style">list-style-type: none</xsl:attribute> </xsl:when> <xsl:when test="@Mark = 'Bullet'"> <xsl:attribute name="style">list-style-type: disc</xsl:attribute> </xsl:when> <xsl:when test="@Mark = 'Dash'"> <xsl:attribute name="style">list-style-type: square</xsl:attribute> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose> <xsl:for-each select="ItemContent/Para"> <li><xsl:apply-templates/><br/><br/></li> </xsl:for-each> </ul> </xsl:template> <xsl:template match="DefinitionList"> <p style="background-color: #00008B"><font color="white"><b>Definition +List</b></font></p> <table width="100%" cellspacing="8"><xsl:apply-templates/></table> </xsl:template> <xsl:template match="DefinitionListEntry"> <tr><xsl:apply-templates/></tr> </xsl:template> <xsl:template match="Term"> <td valign="middle"><b><xsl:apply-templates/></b></td> </xsl:template> <xsl:template match="Description/Para"> <td valign="middle"><xsl:apply-templates/></td> </xsl:template> <xsl:template match="thead"> </xsl:template> <xsl:template match="row"> </xsl:template> <xsl:template match="entry"> </xsl:template> <xsl:template match="entry/SimplePara"> <p><xsl:apply-templates/></p> </xsl:template> <xsl:template match="tfooter/SimplePara"> </xsl:template> <xsl:template match="//InlineMediaObject/ImageObject"> <img><xsl:attribute name="src"> <xsl:variable name="hhh" select="//ChapterInfo/ChapterContext/BookID"/ +> <xsl:variable name="immg">\\172.16.255.101\springerwms\wms-Graphics\B- +<xsl:value-of select="$hhh"/>\05_Images\04_D_Queen\01_Images\Online\< +/xsl:variable> <xsl:value-of select="$immg"/><xsl:value-of select="@FileRef"/></xsl:a +ttribute></img> </xsl:template> <xsl:template match="//MediaObject/TextObject"> <p><span class="tagn"><xsl:text>TextObject </xsl:text></span></p> <xsl:apply-templates/> </xsl:template> <!--<xsl:template match="//Simplepara"> <p><xsl:apply-templates/></p> </xsl:template>--> <xsl:template match="//ChapterBackmatter"> <p style="background-color: #00008B"><font color="white" size="+3"><b> +ChapterBackmatter</b></font></p> <xsl:apply-templates/><br/><br/> </xsl:template> <xsl:template match="//Acknowledgments"> <p style="background-color: #00008B"><font color="white"><b>Acknowledg +ments</b></font></p> <p><xsl:apply-templates/></p><br/><br/> </xsl:template> <xsl:template match="//Acknowledgments/Heading | //Bibliography/Headin +g"> <p><b><xsl:apply-templates/></b></p> </xsl:template> <xsl:template match="//Bibliography"> <p style="background-color: #00008B"><font color="white"><b>Bibliograp +hy</b></font></p> <p><xsl:apply-templates/></p><br/><br/> </xsl:template> <xsl:template match="Citation"> <a name="{@ID}"></a> <xsl:apply-templates/> </xsl:template> <xsl:template match="Section1"> <a name="{@ID}"></a> <xsl:apply-templates/> </xsl:template> <xsl:template match="Section1[@Type='Box']"> <a name="{@ID}"></a> <div style="border: 2pt solid blue" title="Box"><xsl:apply-templates/> +</div> </xsl:template> <xsl:template match="Section2"> <a name="{@ID}"></a><xsl:apply-templates/> </xsl:template> <xsl:template match="Section3"> <a name="{@ID}"></a><xsl:apply-templates/> </xsl:template> <!--<xsl:template match="Citation//BibUnstructured"> <xsl:choose> <xsl:when test="preceding-sibling::BibBook | preceding-sibling::BibArt +icle | preceding-sibling::BibChapter"> <p style="margin-left: 22pt; text-indent: -49pt">&#x00A0;&#x00A0;&#x00 +A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&# +x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;<xsl:apply-templates/></p> </xsl:when> <xsl:otherwise> <p><xsl:if test="preceding-sibling::CitationNumber"><span class="lmarg +in"><b><xsl:value-of select="preceding-sibling::CitationNumber"/></b> +&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;</span></xsl:if><xsl: +apply-templates/></p> </xsl:otherwise> </xsl:choose> </xsl:template>--> <xsl:template match="CitationNumber"></xsl:template> <xsl:template match="Citation//BibBook"> <p style="background-color: #00008B"><b><font color="white"><xsl:value +-of select="name()"/></font></b></p> <p style="margin-left: 22pt; text-indent: -60pt"><xsl:if test="precedi +ng-sibling::CitationNumber"><span class="lmargin"><b><xsl:value-of se +lect="preceding-sibling::CitationNumber"/></b>&#x00A0;&#x00A0;&#x00A0 +;</span></xsl:if><xsl:apply-templates/></p> </xsl:template> <xsl:template match="Citation//BibBook[not(preceding-sibling::Citation +Number)]"> <p style="background-color: #00008B"><b><font color="white"><xsl:value +-of select="name()"/></font></b></p> <p style="margin-left: 22pt; text-indent: -20pt"><xsl:apply-templates/ +></p> </xsl:template> <xsl:template match="Citation//BibArticle"> <p style="background-color: #00008B"><b><font color="white"><xsl:value +-of select="name()"/></font></b></p> <p style="margin-left: 22pt; text-indent: -60pt"><xsl:if test="precedi +ng-sibling::CitationNumber"><span class="lmargin"><b><xsl:value-of se +lect="preceding-sibling::CitationNumber"/></b>&#x00A0;&#x00A0;&#x00A0 +;</span></xsl:if><xsl:apply-templates/></p> </xsl:template> <xsl:template match="Citation//BibArticle[not(preceding-sibling::Citat +ionNumber)]"> <p style="background-color: #00008B"><b><font color="white"><xsl:value +-of select="name()"/></font></b></p> <p style="margin-left: 22pt; text-indent: -20pt"><xsl:apply-templates/ +></p> </xsl:template> <xsl:template match="Citation//BibChapter"> <p style="background-color: #00008B"><b><font color="white"><xsl:value +-of select="name()"/></font></b></p> <p style="margin-left: 22pt; text-indent: -60pt"><xsl:if test="precedi +ng-sibling::CitationNumber"><span class="lmargin"><b><xsl:value-of se +lect="preceding-sibling::CitationNumber"/></b>&#x00A0;&#x00A0;&#x00A0 +;</span></xsl:if><xsl:apply-templates/></p> </xsl:template> <xsl:template match="Citation//BibChapter[not(preceding-sibling::Citat +ionNumber)]"> <p style="background-color: #00008B"><b><font color="white"><xsl:value +-of select="name()"/></font></b></p> <p style="margin-left: 22pt; text-indent: -20pt"><xsl:apply-templates/ +></p> </xsl:template> <xsl:template match="Citation//BibIssue"> <p style="background-color: #00008B"><b><font color="white"><xsl:value +-of select="name()"/></font></b></p> <p style="margin-left: 22pt; text-indent: -60pt"><xsl:if test="precedi +ng-sibling::CitationNumber"><span class="lmargin"><b><xsl:value-of se +lect="preceding-sibling::CitationNumber"/></b>&#x00A0;&#x00A0;&#x00A0 +;</span></xsl:if><xsl:apply-templates/></p> </xsl:template> <xsl:template match="Citation//BibIssue[not(preceding-sibling::Citatio +nNumber)]"> <p style="background-color: #00008B"><b><font color="white"><xsl:value +-of select="name()"/></font></b></p> <p style="margin-left: 22pt; text-indent: -20pt"><xsl:apply-templates/ +></p> </xsl:template> <xsl:template match="//Citation[not(child::BibArticle|child::BibIssue| +child::BibChapter)]/BibUnstructured"> <p style="background-color: #00008B"><b><font color="white"><xsl:value +-of select="name()"/></font></b></p> <p style="margin-left: 23pt; text-indent: -25pt"><xsl:if test="precedi +ng-sibling::CitationNumber"> <b><xsl:value-of select="preceding-sibling::CitationNumber"/></b>&#x00 +A0;&#x00A0;&#x00A0; </xsl:if> <xsl:apply-templates/></p> </xsl:template> <xsl:template match="Citation/*/ArticleTitle"> <font color="red"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="Citation/*/BookTitle"> <font color="blue"><i><xsl:apply-templates/></i></font> </xsl:template> <xsl:template match="Citation/*/ChapterTitle"> <font color="green"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="BibAuthorName"> <xsl:apply-templates select="FamilyName"/>, <xsl:apply-templates selec +t="Initials"/> </xsl:template> <xsl:template match="BibAuthorName/Initials"> <font color="orange"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="BibAuthorName/FamilyName"> <font color="blue"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="InstitutionalAuthorName"> <font color="darkviolet"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="BibEditorName"> <xsl:apply-templates/> </xsl:template> <xsl:template match="BibEditorName/Initials"> <font color="red"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="BibEditorName/FamilyName"> <font color="brown"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="Citation/*/PublisherName"> &#x00A0;<font color="darkteal"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="Citation/*/PublisherLocation"> <font color="orange"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="JournalTitle"> <font color="green"><i><xsl:apply-templates/></i></font> </xsl:template> <xsl:template match="Year"> <font color="brown"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="VolumeID"> <font color="darkpink"><b><xsl:apply-templates/></b></font> </xsl:template> <xsl:template match="IssueID"> &#160;<b><font color="darkred"><xsl:apply-templates/></font></b>&#160; </xsl:template> <xsl:template match="FirstPage"> <font color="blue"><xsl:apply-templates/></font> </xsl:template> <xsl:template match="Particle"> <xsl:text>&#xa;</xsl:text><xsl:apply-templates/> </xsl:template> <xsl:template match="Prefix"> <xsl:apply-templates/><xsl:text>&#xa;</xsl:text> </xsl:template> <xsl:template match="LastPage"> <font color="violet">-<xsl:apply-templates/></font> </xsl:template> <xsl:template match="Eds"> <xsl:if test="count(preceding-sibling::BibEditorName) > 1">(Eds.)</xsl +:if> <xsl:if test="count(preceding-sibling::BibEditorName) = 1">(Ed.)</xsl: +if> </xsl:template> <xsl:template match="Glossary"> <p style="background-color: #00008B"><font color="white"><b>Glossary</ +b></font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="GlossarySection"> <p style="background-color: #00008B"><font color="white"><b>GlossarySe +ction</b></font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="GlossaryEntry"> <xsl:apply-templates/> </xsl:template> <xsl:template match="GlossaryTerm"> <b><xsl:apply-templates/></b><xsl:text> </xsl:text><xsl:text> </xsl:te +xt> </xsl:template> <xsl:template match="GlossaryDef/SimplePara"> <xsl:apply-templates/><br/><br/> </xsl:template> <xsl:template match="AbbreviationGroup"> <p style="background-color: #00008B"><font color="white"><b>Abbreviati +onGroup</b></font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="Appendix"> <p style="background-color: #00008B"><font color="white"><b>Appendix</ +b></font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="//Heading"> <p><font color="Green"><b><xsl:apply-templates/></b></font> <xsl:variable name="abs" select="parent::Abstract/@Language"/> <xsl:variable name="absh" select="."/> &#x00A0;&#x00A0;&#x00A0;&#x00A0; <xsl:choose> <xsl:when test="$abs != 'En' and ($absh = 'Abstract' or $absh = 'Summa +ry')"> <font color="red" size="+1"><xsl:text>Please check abstract heading is + in English. But this book does not have Language=En</xsl:text></font +> </xsl:when> <xsl:otherwise></xsl:otherwise> </xsl:choose> </p> </xsl:template> <xsl:template match="Index"> <p style="background-color: #00008B"><font color="white"><b>Index</b>< +/font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="IndexDiv"> <xsl:apply-templates/> </xsl:template> <xsl:template match="//IndexEntry//PrimaryIE"> <p style="margin-left: 0pt; margin-bottom: 0pt; margin-top: 0pt"><xsl: +apply-templates/></p> </xsl:template> <xsl:template match="//IndexEntry//SecondaryIE"> <p style="margin-left: 10pt; margin-bottom: 0pt; margin-top: 0pt"><xsl +:apply-templates/></p> </xsl:template> <xsl:template match="//IndexEntry//TertiaryIE"> <p style="margin-left: 22pt; margin-bottom: 0pt; margin-top: 0pt"><xsl +:apply-templates/></p> </xsl:template> <xsl:template match="Abstract"> <p style="background-color: #00008B"><font color="white"><b>Abstract</ +b></font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="//BlockQuote"> <div title="BlockQuote" style="border-left: 1pt solid pink; border-rig +ht: 1pt solid pink; border-bottom: 1pt solid pink; border-top: 1pt so +lid pink; margin-left: 10pt; margin-right: 10pt"><xsl:apply-templates +/></div> </xsl:template> <xsl:template match="KeywordGroup"> <p style="background-color: #00008B"><font color="white"><b>KeywordGro +up</b></font></p> <xsl:apply-templates/> </xsl:template> <xsl:template match="Keyword"> <xsl:if test = "not(position()=last())" > <xsl:apply-templates/><xsl:text >&#x00A0;&#x00B7;&#x00A0;</xsl:text> </xsl:if> <xsl:if test = "position()=last()" > <xsl:apply-templates/> </xsl:if> </xsl:template> <xsl:template match="Loh"> <br/><div title="Loh page" style="border-left: 1pt solid green; border +-right: 1pt solid green; border-bottom: 1pt solid green; border-top: +1pt solid green"> <p align="center" style="background-color: #00008B"><font color="white +"><b>Loh Page</b></font></p> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="LohEntry"> <p style="margin-left: 29pt; text-indent: -27pt"><font size="3" color= +"blue">Loh</font>&#x00A0;<img src="C:\iTools\wms\SPR-BWF\Tools\startt +ag.gif"/>&#x00A0;<xsl:apply-templates/></p> </xsl:template> <xsl:template match="Toc"> <br/><div title="Toc Page" style="border-left: 1pt solid green; border +-right: 1pt solid green; border-bottom: 1pt solid green; border-top: +1pt solid green"> <xsl:apply-templates/> </div> </xsl:template> <xsl:template match="Loc"> <br/><div title="Loc Page" style="border-left: 1pt solid pink; border- +right: 1pt solid pink; border-bottom: 1pt solid pink; border-top: 1pt + solid pink"><xsl:apply-templates/> </div> </xsl:template> <xsl:template match="Loc/LocEntry"> <p style="margin-left: 29pt; text-indent: -27pt"><font size="3" color= +"blue">Loc</font>&#x00A0;<img src="C:\iTools\wms\SPR-BWF\Tools\startt +ag.gif"/>&#x00A0;<xsl:apply-templates/></p> </xsl:template> <xsl:template match="TocFront"> <p><font size="3" color="blue">TocFront</font>&#x00A0;<img src="C:\iTo +ols\wms\SPR-BWF\Tools\starttag.gif"/>&#x00A0;<xsl:apply-templates/></ +p> </xsl:template> <xsl:template match="TocBack"> <p><font size="3" color="blue">TocBack</font>&#x00A0;<img src="C:\iToo +ls\wms\SPR-BWF\Tools\starttag.gif"/>&#x00A0;<xsl:apply-templates/></p +> </xsl:template> <xsl:template match="TocPart/TocEntry"> <p><font size="3" color="blue">TocPart</font>&#x00A0;<img src="C:\iToo +ls\wms\SPR-BWF\Tools\starttag.gif"/>&#x00A0;<xsl:apply-templates/></p +> </xsl:template> <xsl:template match="TocChapter/TocEntry"> <p><font size="3" color="blue">TocChap</font>&#x00A0;<img src="C:\iToo +ls\wms\SPR-BWF\Tools\starttag.gif"/>&#x00A0; <xsl:apply-templates/></p> </xsl:template> <xsl:template match="TocSection1/TocEntry"> <p style="margin-left: 4pt"><font size="3" color="blue">TocSection1</f +ont>&#x00A0;<img src="C:\iTools\wms\SPR-BWF\Tools\starttag.gif"/>&#x0 +0A0;<xsl:apply-templates/></p> </xsl:template> <xsl:template match="TocSection2/TocEntry"> <p style="margin-left: 6pt"><font size="3" color="blue">TocSection2</f +ont>&#x00A0;<img src="C:\iTools\wms\SPR-BWF\Tools\starttag.gif"/>&#x0 +0A0;<xsl:apply-templates/></p> </xsl:template> <xsl:template match="TocSection3/TocEntry"> <p style="margin-left: 8pt"><font size="3" color="blue">TocSection3</f +ont>&#x00A0;<img src="C:\iTools\wms\SPR-BWF\Tools\starttag.gif"/>&#x0 +0A0;<xsl:apply-templates/></p> </xsl:template> <xsl:template match="TocSection4/TocEntry"> <p style="margin-left: 10pt"><font size="3" color="blue">TocSection4</ +font>&#x00A0;<img src="C:\iTools\wms\SPR-BWF\Tools\starttag.gif"/>&#x +00A0;<xsl:apply-templates/></p> </xsl:template> <xsl:template match="TocSection5/TocEntry"> <p style="margin-left: 12pt"><font size="3" color="blue">TocSection5</ +font>&#x00A0;<img src="C:\iTools\wms\SPR-BWF\Tools\starttag.gif"/>&#x +00A0;<xsl:apply-templates/></p> </xsl:template> <xsl:template match="TocSection6/TocEntry"> <p style="margin-left: 14pt"><font size="3" color="blue">TocSection6</ +font>&#x00A0;<img src="C:\iTools\wms\SPR-BWF\Tools\starttag.gif"/>&#x +00A0;<xsl:apply-templates/></p> </xsl:template> <xsl:template match="TocSection7/TocEntry"> <p style="margin-left: 16pt"><font size="3" color="blue">TocSection7</ +font>&#x00A0;<img src="C:\iTools\wms\SPR-BWF\Tools\starttag.gif"/>&#x +00A0;<xsl:apply-templates/></p> </xsl:template>