<?xml version="1.0" encoding="utf-8"?> <!--Release version 20060725--> <!--Revised final version 20060803--> <!

-- Post release revision: added disable output escaping to title handlers 2006 0828--> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" version="4.0" encoding="ISO-8859-1" /> <xsl:preserve-space elements="*" /> <xsl:template match="LinkRecords"> <!--Alert revision: removed html namespace declaration 20060817--> <html> <head> <title>Derwent_Word</title> <style type="text/css"> .abstract { margin-left: 15px; margin-right: 0px; margin-top: 0px; margin-bottom: 0px; } </style> </head> <body leftmargin="25"> <xsl:apply-templates /> </body> </html> </xsl:template> <xsl:template match="DialogRecord[@DbaseName='280'] | DialogRecord[@DbaseNam e='834'] | DialogRecord[@DbaseName='350'] | DialogRecord[@DbaseName='351'] | Dia logRecord[@DbaseName='352']"> <p class="Heading 1"> <xsl:element name="a"> <xsl:attribute name="name"><xsl:value-of select="translate(./pi[ @subtag='PB']/sf1/sf2[1],' ','')" /></xsl:attribute> <xsl:for-each select="./pi[@subtag='PB']"> <xsl:value-of select="translate(sf1/sf2[1],' ','')" /> </xsl:for-each> </xsl:element> </p> <p class="Heading 2"> <xsl:for-each select="./ti"> <xsl:choose> <xsl:when test="count(sf1) > 1"> <H2><ToC><xsl:for-each select="sf1[position() != last()] "> <xsl:value-of select="." disable-output-escaping ="yes" /><xsl:text disable-output-escaping="yes">&amp;nbsp;-&amp;nbsp;</xsl:text > </xsl:for-each> <xsl:for-each select="sf1[position() = last()]"> <xsl:value-of select="." disable-output-escaping ="yes"/> </xsl:for-each></ToC></H2> </xsl:when> <xsl:otherwise> <xsl:for-each select="sf1"> <H2><ToC><xsl:value-of select="." disable-output

-escaping="yes"/></ToC></H2> </xsl:for-each> </xsl:otherwise> </xsl:choose> </xsl:for-each> </p> <xsl:apply-templates /> </xsl:template> <xsl:template match="fn"> <xsl:apply-templates /> <br/> </xsl:template> <xsl:template match="cz"> <xsl:choose> <xsl:when test="contains(.,'rights')"> <xsl:value-of select="."/> </xsl:when> <xsl:otherwise> <xsl:variable name="returnPF" select="preceding-sibling::aa"/> <p><b>Czech Republic</b><br/><br/> <xsl:for-each select="sf1"> <xsl:for-each select="sf2[position() = 1]"> <xsl:variable name="refn" select="substring-before(.,' (')"/> <b><xsl:value-of select="concat('&lt;a name=&quot;',$ref n,'&quot;&gt;',$refn,'&lt;/a&gt;')" disable-output-escaping="yes"/></b> <xsl:value-of select="concat(' (',substring-after(.,'(') )"/><br/> </xsl:for-each> <xsl:for-each select="sf2[position() != 1]"> <xsl:for-each select="sf3"> <xsl:choose> <xsl:when test="contains(.,':') and stri ng-length(substring-before(.,':')) &lt;= 20"> <b><xsl:value-of select="concat( substring-before(.,':'),':')"/></b> <xsl:value-of select="substringafter(.,':')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="." disable -output-escaping="yes"/> </xsl:otherwise> </xsl:choose> <xsl:if test="position() != last()"><br/></xsl:i f> </xsl:for-each> <xsl:if test="position() != last()"><br/></xsl:if> </xsl:for-each> <xsl:if test="ancestor::DialogRecord[@Format='7'] or ancestor::DialogRecord[@For mat='9'] or ancestor::DialogRecord[@Format='19']"> <br/> <xsl:element name="a"> <xsl:attribute name="href"> <xsl:value-of select="concat('#',$returnPF)"/> </xsl:attribute> Back to Family

</xsl:element> </xsl:if> <xsl:if test="position() != last()"><br/><br/></xsl:if> </xsl:for-each> </p> </xsl:otherwise> </xsl:choose> <br/> </xsl:template> <xsl:template match="az"> Dialog Accession Number: <xsl:element name="a"><xsl:attribute name="name"><xsl:v alue-of select="."/></xsl:attribute></xsl:element> <xsl:apply-templates /> <br/> </xsl:template> <xsl:template match="aa"> Derwent Accession Number: <!--<xsl:apply-templates />--> <xsl:choose> <xsl:when test="following-sibling::dw"> <xsl:value-of select="concat(.,'/',following-sib ling::dw)" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="." disable-output-escaping ="yes"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="dw[@subtag='BASIC']" /> <xsl:template match="pa"> <p><b>Patent Assignee(s): </b> <xsl:for-each select="sf1[position() != last()]"> <xsl:value-of select="concat(sf2[1],' ',sf2[2])" disable-output -escaping="yes"/> <xsl:text>; </xsl:text> </xsl:for-each> <xsl:for-each select="sf1[position() = last()]"> <xsl:value-of select="concat(sf2[1],' ',sf2[2])" disable-output -escaping="yes"/> </xsl:for-each> </p> </xsl:template> <xsl:template match="iv"> <b>Inventor(s): </b> <xsl:for-each select="sf1[position() != last()]"> <xsl:value-of select="." /> <xsl:text>; </xsl:text> </xsl:for-each> <xsl:for-each select="sf1[position() = last()]"> <xsl:value-of select="." /><br/> </xsl:for-each> </xsl:template> <xsl:template match="np">

Number of Countries: <xsl:apply-templates /> <xsl:text> </xsl:text> </xsl:template> <xsl:template match="nc"> Number of Patents: <xsl:apply-templates /> <br/> </xsl:template> <xsl:template match="pi[@subtag='PB']"> <xsl:variable name="returnPF" select="preceding-sibling::aa"/> <xsl:element name="a"> <xsl:attribute name="name"> <xsl:value-of select="$returnPF"/> </xsl:attribute> Patent Family: </xsl:element> <table border="2" cellspacing="0" width="100%"> <tr> <th align="left">Patent No</th><th>Kind</th><th>Date</th><th align="left ">Applicat No</th><th>Kind</th><th>Date</th><th>Week</th><th></th> </tr> <xsl:for-each select="sf1"> <xsl:if test="count(sf2) = 8"> <xsl:call-template name="basic01" /> </xsl:if> <xsl:if test="count(sf2) != 8"> <xsl:call-template name="basic01" /> </xsl:if> </xsl:for-each> <xsl:for-each select="following-sibling::pi[not(@subtag='PB')]"> <xsl:for-each select="sf1"> <xsl:if test="count(sf2) = 8"> <xsl:call-template name="equiv01" /> </xsl:if> <xsl:if test="count(sf2) &lt; 8"> <xsl:call-template name="equiv02" /> </xsl:if> </xsl:for-each> </xsl:for-each> </table> </xsl:template> <xsl:template match="pr"> <br/> Priority Applications (No Type Date):

<xsl:for-each select="sf1"> <xsl:if test="position() != last()"> <xsl:value-of select="concat(sf2[1],' ',sf2[2],' ',sf2[3 ])" />;<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> </xsl:if> <xsl:if test="position() = last()"> <xsl:value-of select="concat(sf2[1],' ',sf2[2],' ',sf2[3 ])" /><br/> </xsl:if> </xsl:for-each> </xsl:template> <xsl:template match="fd"> Patent Details:<br/> <table border="2" cellspacing="0" align="center" width="90%"> <tr> <th align="left" width="20%">Patent No</th><th align="left" width="5%">K ind</th><th align="left" width="5%">Lan</th><th align="left" width="5%">Pg</th>< th align="left" width="20%">Drawings</th><th align="center" width="45%" colspan= "2">Filing Notes</th> </tr> <xsl:for-each select="sf1"> <tr> <xsl:choose> <xsl:when test="contains(.,'Designated')"> <td valign="top"> <b><xsl:value-of select="sf2/sf3[1]"/></ b> </td> <td valign="top" colspan="6"> <xsl:value-of select="sf2/sf3[2]"/> </td> </xsl:when> <xsl:otherwise> <td><xsl:value-of select="sf2[1]"/></td> <td><xsl:value-of select="sf2[2]"/></td> <td><xsl:value-of select="sf2[3]"/></td> <td><xsl:value-of select="sf2[4]"/></td> <td><xsl:value-of select="sf2[5]"/></td> <td><xsl:value-of select="sf2[6]"/></td> <td><xsl:value-of select="sf2[7]"/></td> </xsl:otherwise> </xsl:choose> </tr> </xsl:for-each> </table> <br/> </xsl:template> <xsl:template match="nv"> <br/> <xsl:choose> <!-- when condition is probably no longer relevant --> <xsl:when test="count(sf1) > 1"> <xsl:for-each select="sf1[position() = 1]"> <b><xsl:value-of select="sf2[1]" /></b><br/> <xsl:value-of select="sf2[2]" /><br/>

</xsl:for-each> <xsl:for-each select="sf1[position() != 1]"> <xsl:value-of select="sf2" /><br/> </xsl:for-each> </xsl:when> <xsl:otherwise> <b>Alerting Abstract: </b><xsl:value-of select="sf1/sf2[ 1]" /><br/> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="concat(substring-before(sf1/sf2 [2],'-'),'-')" /></b> <xsl:value-of select="substring-after(sf1/sf2[2],'-')" d isable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="ba"> <xsl:choose> <xsl:when test="not(preceding-sibling::nv)"> <b>Alerting Abstract: </b><xsl:value-of select="sf1[1]/sf2[1]"/> <br/> <xsl:for-each select="sf1"> <xsl:for-each select="sf2[position() != 1]"> <xsl:choose> <xsl:when test="contains(.,'&lt;img src')"> <xsl:variable name="var1" select="substring-before(.,'&l t;img src')"/> <xsl:variable name="var2" select="concat('&lt;img src',s ubstring-after(.,'&lt;img src'))" /> <xsl:variable name="var3" select="substring-after($var2, '&gt;')"/> <xsl:call-template name="b_abstract"> <xsl:with-param name="string" se lect="$var1"/> </xsl:call-template> <xsl:call-template name="resize"> <xsl:with-param name="string2" s elect="$var2" /> <xsl:with-param name="string3" s elect="$var3"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="b_abstract"> <xsl:with-param name="string" se lect="."/> <xsl:with-param name="string_a" select="following-sibling::sf2[1]"/> <xsl:with-param name="string_b" select="preceding-sibling::sf2[1]"/> </xsl:call-template> </xsl:otherwise>

</xsl:choose> </xsl:for-each> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:for-each select="sf1"> <xsl:for-each select="sf2"> <xsl:choose> <xsl:when test="contains(.,'&lt;img src')"> <xsl:variable name="var1" select="substring-before(.,'&l t;img src')"/> <xsl:variable name="var2" select="concat('&lt;img src',s ubstring-after(.,'&lt;img src'))" /> <xsl:variable name="var3" select="substring-after($var2, '&gt;')"/> <xsl:call-template name="b_abstract"> <xsl:with-param name="string" se lect="$var1"/> </xsl:call-template> <xsl:call-template name="resize"> <xsl:with-param name="string2" s elect="$var2" /> <xsl:with-param name="string3" s elect="$var3"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="b_abstract"> <xsl:with-param name="string" se lect="."/> <xsl:with-param name="string_a" select="following-sibling::sf2[1]"/> <xsl:with-param name="string_b" select="preceding-sibling::sf2[1]"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:for-each> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="ae"> <xsl:for-each select="sf1"> <p> <b>Equivalent Alerting Abstract: </b><xsl:value-of selec t="sf2[1]"/><br/> <xsl:for-each select="sf2[position() != 1]"> <xsl:choose> <xsl:when test="contains(.,'&lt;img src')"> <xsl:variable name="var1" select="substring-before(.,'&l t;img src')"/> <xsl:variable name="var2" select="concat('&lt;img src',s ubstring-after(.,'&lt;img src'))" /> <xsl:variable name="var3" select="substring-after($var2, '&gt;')"/> <xsl:call-template name="b_abstract"> <xsl:with-param name="string" se lect="$var1"/>

</xsl:call-template> <xsl:call-template name="resize"> <xsl:with-param name="string2" s elect="$var2" /> <xsl:with-param name="string3" s elect="$var3"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="b_abstract"> <xsl:with-param name="string" se lect="."/> <xsl:with-param name="string_a" select="following-sibling::sf2[1]"/> <xsl:with-param name="string_b" select="preceding-sibling::sf2[1]"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:for-each> </p> </xsl:for-each> </xsl:template> <xsl:template name="b_abstract"> <xsl:param name="string"/> <xsl:param name="string_a"/> <xsl:param name="string_b"/> <xsl:choose> <xsl:when test="contains($string,'NOVELTY')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="concat(substring-before($string ,'-'),'-')" /></b> <xsl:variable name="string0" select="substring-after($st ring,'-')"/> <xsl:choose> <xsl:when test="contains($string0,'INDEP ENDENT CLAIMS')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string0,'CLAIMS') " disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string0,'INDEP ENDENT CLAIM')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string0,'CLAIM')" disable-output-escaping="yes"/>

</xsl:when> <xsl:otherwise> <xsl:value-of select="$string0" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="contains($string,'ADVANTAGE - DESCRIPTION')"> <xsl:variable name="string1" select="substring-after($st ring,'ADVANTAGE - ')"/> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="concat(substring-before($string 1,'-'),'-')" /></b> <xsl:variable name="string0" select="substring-after($st ring1,'-')"/> <xsl:choose> <xsl:when test="contains($string0,'INDEP ENDENT CLAIMS')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string0,'CLAIMS') " disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string0,'INDEP ENDENT CLAIM')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string0,'CLAIM')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string0" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="contains($string,'DESCRIPTION')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="concat(substring-before($string ,'-'),'-')" /></b>

<xsl:variable name="string0" select="substring-after($st ring,'-')"/> <xsl:choose> <xsl:when test="contains($string0,'INDEP ENDENT CLAIMS')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string0,'CLAIMS') " disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string0,'INDEP ENDENT CLAIM')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string0,'CLAIM')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string0" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="contains($string,'ACTIVITY')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="concat(substring-before($string ,'-'),'-')" /></b> <xsl:variable name="string0" select="substring-after($st ring,'-')"/> <xsl:choose> <xsl:when test="contains($string0,'INDEP ENDENT CLAIMS')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string0,'CLAIMS') " disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string0,'INDEP ENDENT CLAIM')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string0,'CLAIM')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string0" disable-output-escaping="yes"/>

</xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="contains($string,'MECHANISM OF ACTION')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="concat(substring-before($string ,'-'),'-')" /></b> <xsl:variable name="string0" select="substring-after($st ring,'-')"/> <xsl:choose> <xsl:when test="contains($string0,'INDEP ENDENT CLAIMS')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string0,'CLAIMS') " disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string0,'INDEP ENDENT CLAIM')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string0,'CLAIM')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string0" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="contains($string,'USE -')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="concat(substring-before($string ,'-'),'-')" /></b> <xsl:variable name="string0" select="substring-after($st ring,'-')"/> <xsl:choose> <xsl:when test="contains($string0,'INDEP ENDENT CLAIMS')"> <xsl:value-of select="substring-before($string0,'INDEPEN

DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string0,'CLAIMS') " disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string0,'INDEP ENDENT CLAIM')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string0,'CLAIM')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string0" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="contains($string,'ADVANTAGE -')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="concat(substring-before($string ,'-'),'-')" /></b> <xsl:variable name="string0" select="substring-after($st ring,'-')"/> <xsl:choose> <xsl:when test="contains($string0,'INDEP ENDENT CLAIMS')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string0,'CLAIMS') " disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string0,'INDEP ENDENT CLAIM')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string0,'CLAIM')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string0" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="contains($string,'INDEPENDENT CLAIMS')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if>

<xsl:text <xsl:text <xsl:text <xsl:text <xsl:text <xsl:text <xsl:text <xsl:text

disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="substring-before($string,'INDEPEND ENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string,'CLAIMS')" disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string,'INDEPENDENT CLAIM')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="substring-before($string,'INDEPEND ENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string,'CLAIM')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:if test="not(starts-with(no rmalize-space($string_b),'&lt;')) and not(starts-with(normalize-space($string),' &lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="$string" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="do"> <p/><b>Documentation Abstract</b><br/> <xsl:for-each select="sf1"> <xsl:for-each select="sf2"> <xsl:choose> <xsl:when test="contains(.,'&lt;img src')"> <xsl:variable name="var1" select="substring-before(.,'&l t;img src')"/> <xsl:variable name="var2" select="concat('&lt;img src',s ubstring-after(.,'&lt;img src'))" /> <xsl:variable name="var3" select="substring-after($var2,

'&gt;')"/> <xsl:call-template name="do_abstract"> <xsl:with-param name="string" se lect="$var1"/> </xsl:call-template> <xsl:call-template name="resize"> <xsl:with-param name="string2" s elect="$var2" /> <xsl:with-param name="string3" s elect="$var3"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="do_abstract"> <xsl:with-param name="string" se lect="."/> <xsl:with-param name="string_a" select="following-sibling::sf2[1]"/> <xsl:with-param name="string_b" select="preceding-sibling::sf2[1]"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:for-each> </xsl:template> <xsl:template name="do_abstract"> <xsl:param name="string"/> <xsl:param name="string_a"/> <xsl:param name="string_b"/> <xsl:choose> <xsl:when test=" (substring(normalize-space($string),2,1) = 'A' or substring(normalize-space($string),2,1) = 'B' or substring(normalize-space($s tring),2,1) = 'C' or substring(normalize-space($string),2,1) = 'D' or substring( normalize-space($string),2,1) = 'E' or substring(normalize-space($string),2,1) = 'F' or substring(normalize-space($string),2,1) = 'G' or substring(normalize-spa ce($string),2,1) = 'H' or substring(normalize-space($string),2,1) = 'I' or subst ring(normalize-space($string),2,1) = 'J' or substring(normalize-space($string),2 ,1) = 'K' or substring(normalize-space($string),2,1) = 'L' or substring(normaliz e-space($string),2,1) = 'M' or substring(normalize-space($string),2,1) = 'N' or substring(normalize-space($string),2,1) = 'O' or substring(normalize-space($stri ng),2,1) = 'P' or substring(normalize-space($string),2,1) = 'Q' or substring(nor malize-space($string),2,1) = 'R' or substring(normalize-space($string),2,1) = 'S ' or substring(normalize-space($string),2,1) = 'T' or substring(normalize-space( $string),2,1) = 'U' or substring(normalize-space($string),2,1) = 'V' or substrin g(normalize-space($string),2,1) = 'W' or substring(normalize-space($string),2,1) = 'X' or substring(normalize-space($string),2,1) = 'Y' or substring(normalize-s pace($string),2,1) = 'Z') and string-length(substring-before($string,'-')) &lt;= 27 and contains($string,' - ')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>

<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="concat(substring-before($string ,'-'),'-')" /></b> <xsl:variable name="string0" select="substring-after($st ring,'-')"/> <xsl:choose> <xsl:when test="contains($string0,'INDEP ENDENT CLAIMS')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string0,'CLAIMS') " disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string0,'INDEP ENDENT CLAIM')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string0,'CLAIM')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string0" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="contains($string,'PREFERRED')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="concat(substring-before($string ,'-'),'-')" /></b> <xsl:variable name="string0" select="substring-after($st ring,'-')"/> <xsl:choose> <xsl:when test="contains($string0,'INDEP ENDENT CLAIMS')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string0,'CLAIMS') " disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string0,'INDEP ENDENT CLAIM')"> <xsl:value-of select="substring-before($string0,'INDEPEN DENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string0,'CLAIM')" disable-output-escaping="yes"/> </xsl:when>

<xsl:otherwise> <xsl:value-of select="$string0" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="contains($string,'INDEPENDENT CLAIMS')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="substring-before($string,'INDEPEND ENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIMS</b> <xsl:value-of select="substring-after($string,'CLAIMS')" disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains($string,'INDEPENDENT CLAIM')"> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="substring-before($string,'INDEPEND ENT')" disable-output-escaping="yes"/> <b>INDEPENDENT CLAIM</b> <xsl:value-of select="substring-after($string,'CLAIM')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:if test="not(starts-with(normalize-space($string_b) ,'&lt;'))"><br/></xsl:if> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="$string" disable-output-escaping= "yes"/> </xsl:otherwise> </xsl:choose> </xsl:template>

<xsl:template match="tf">

<p/><b>Technology Focus</b><br/> <xsl:for-each select="sf1"> <xsl:for-each select="sf2"> <xsl:choose> <xsl:when test="contains(.,'&lt;img src')"> <xsl:variable name="var1" select="substring-before(.,'&l t;img src')"/> <xsl:variable name="var2" select="concat('&lt;img src',s ubstring-after(.,'&lt;img src'))" /> <xsl:variable name="var3" select="substring-after($var2, '&gt;')"/> <xsl:call-template name="resize"> <xsl:with-param name="string1" s elect="$var1"/> <xsl:with-param name="string2" s elect="$var2" /> <xsl:with-param name="string3" s elect="$var3"/> </xsl:call-template> </xsl:when> <xsl:when test="contains(.,'- Preferred') or contains(.,'- Prepa ration') or starts-with(.,'Preferred')"> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="substring-before(., ':')" /> <xsl:text disable-output-escaping="yes">:</xsl:t ext></b> <xsl:value-of select="substring-after(., ':')" d isable-output-escaping="yes"/> <xsl:if test="position() != last() and not(starts-with(normalize-space(following-sibling::sf2[1]),'&lt;'))"><br/></xsl: if> </xsl:when> <xsl:when test="position() = 1 and contains(.,' - ')"> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="substring-before(., '-')" /> <xsl:text disable-output-escaping="yes">-</xsl:t ext></b> <xsl:value-of select="substring-after(., '-')" d isable-output-escaping="yes"/> <xsl:if test="position() != last() and not(starts-with(normalize-space(following-sibling::sf2[1]),'&lt;'))"><br/></xsl: if> </xsl:when> <xsl:otherwise> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>

<xsl:text <xsl:text <xsl:text <xsl:text <xsl:text <xsl:text

disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="." disable-output-escaping="yes"/> <xsl:if test="position() != last() and not(start s-with(normalize-space(.),'&lt;')) and not(starts-with(normalize-space(following -sibling::sf2[1]),'&lt;'))"><br/></xsl:if> </xsl:otherwise> </xsl:choose> </xsl:for-each> <xsl:if test="position() != last()"><br/></xsl:if> </xsl:for-each> </xsl:template> <xsl:template match="xa"> <p/><b>Extension Abstract</b><br/> <xsl:for-each select="sf1"> <xsl:for-each select="sf2"> <xsl:choose> <xsl:when test="contains(.,'&lt;img src')"> <xsl:variable name="var1" select="substring-before(.,'&l t;img src')"/> <xsl:variable name="var2" select="concat('&lt;img src',s ubstring-after(.,'&lt;img src'))" /> <xsl:variable name="var3" select="substring-after($var2, '&gt;')"/> <xsl:call-template name="resize"> <xsl:with-param name="string1" s elect="$var1"/> <xsl:with-param name="string2" s elect="$var2" /> <xsl:with-param name="string3" s elect="$var3"/> </xsl:call-template> </xsl:when> <xsl:when test="starts-with(normalize-space(.),'EXAMPLE') or sta rts-with(normalize-space(.),'DEFINITIONS') or starts-with(normalize-space(.),'AD MINISTRATION')or starts-with(normalize-space(.),'SPECIFIC') or starts-with(norma lize-space(.),'WIDER')"> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="substring-before(., '-')" /> <xsl:text disable-output-escaping="yes">-</xsl:t ext></b> <xsl:value-of select="substring-after(., '-')" d isable-output-escaping="yes"/> <xsl:if test="position() != last() and not(starts-with(normalize-space(following-sibling::sf2[1]),'&lt;'))"><br/></xsl: if> </xsl:when>

<xsl:otherwise> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="." disable-output-escaping="yes"/> <xsl:if test="position() != last() and not(start s-with(normalize-space(.),'&lt;')) and not(starts-with(normalize-space(following -sibling::sf2[1]),'&lt;'))"><br/></xsl:if> </xsl:otherwise> </xsl:choose> <xsl:text <xsl:text <xsl:text <xsl:text <xsl:text <xsl:text <xsl:text <xsl:text </xsl:for-each> <xsl:if test="position() != last()"><br/></xsl:if> </xsl:for-each> </xsl:template> <xsl:template match="ic"> <xsl:if test="@* = 'MA'"> <br/><br/><b>Class Codes</b><br/> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b>Main IPC: </b> <xsl:for-each select="sf1/sf2"> <xsl:value-of select="."/> <xsl:if test="position() != last ()">; </xsl:if> </xsl:for-each> </xsl:if> <xsl:if test="@* = 'XR'"> <xsl:choose> <xsl:when test="not(preceding-sibling::ic)"> <p><b>Class Codes</b></p> </xsl:when> <xsl:otherwise> <br/> </xsl:otherwise> </xsl:choose> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b>Additional IPC: </b> <xsl:for-each select="sf1/sf2"> <xsl:value-of select="."/> <xsl:if test="position() != last

()">; </xsl:if> </xsl:for-each> </xsl:if> <xsl:choose> <xsl:when test="@* = 'ADVANCED' and following-sibling::i c[@subtag='CORE']"> <xsl:if test="not(preceding-sibling::ic)"><p><b>Class Co des</b></p></xsl:if> <table border="2" cellspacing="0" align="center" width="90%"> <tr> <th colspan="6" align="center">I nternational Class Codes (Current)</th> </tr> <tr> <th align="center"><b>IPC</b></t h><th align="center"><b>Class Level</b></th><th align="center"><b>Scope</b></th> <th align="center"><b>Posistion</b></th><th align="center"><b>Status</b></th><th align="center"><b>Version Date</b></th> </tr> <xsl:for-each select="sf1"> <tr> <td><xsl:value-of select="sf2[1] "/></td> <xsl:variable name="str" select="substring-after(.,' ')"/> <td><xsl:value-o f select="sf2[2]"/></td> <td><xsl:value-o f select="sf2[3]"/></td> <td><xsl:value-o f select="sf2[4]"/></td> <td><xsl:value-o f select="sf2[5]"/></td> <td><xsl:value-o f select="sf2[6]"/></td> </tr> </xsl:for-each> <xsl:for-each select="following-sibling: :ic[@subtag='CORE']/sf1"> <tr> <td><xsl:value-of select="sf2[1] "/></td> <xsl:variable name="str" select="substring-after(.,' ')"/> <td><xsl:value-o f select="sf2[2]"/></td> <td><xsl:value-o f select="sf2[3]"/></td> <td><xsl:value-o f select="sf2[4]"/></td> <td><xsl:value-o f select="sf2[5]"/></td> <td><xsl:value-o f select="sf2[6]"/></td> </tr> </xsl:for-each> </table> </xsl:when> <xsl:when test="@* = 'ADVANCED'">

<xsl:if test="not(preceding-sibling::ic)"><p><b> Class Codes</b></p></xsl:if> <table border="2" cellspacing="0" align="center" width="90%"> <tr> <th colspan="6" align="center">I nternational Class Codes (Current)</th> </tr> <tr> <th align="center"><b>IPC</b></t h><th align="center"><b>Class Level</b></th><th align="center"><b>Scope</b></th> <th align="center"><b>Posistion</b></th><th align="center"><b>Status</b></th><th align="center"><b>Version Date</b></th> </tr> <xsl:for-each select="sf1"> <tr> <td><xsl:value-of select="sf2[1] "/></td> <xsl:variable name="str" select="substring-after(.,' ')"/> <td><xsl:value-o f select="sf2[2]"/></td> <td><xsl:value-o f select="sf2[3]"/></td> <td><xsl:value-o f select="sf2[4]"/></td> <td><xsl:value-o f select="sf2[5]"/></td> <td><xsl:value-o f select="sf2[6]"/></td> </tr> </xsl:for-each> </table> </xsl:when> <xsl:when test="@* = 'CORE' and not(preceding-sibling::i c[@subtag='ADVANCED'])"> <xsl:if test="not(preceding-sibling::ic)"><p><b> Class Codes</b></p></xsl:if> <table border="2" cellspacing="0" align="center" width="90%"> <tr> <th colspan="6" align="center">I nternational Class Codes (Current)</th> </tr> <tr> <th align="center"><b>IPC</b></t h><th align="center"><b>Class Level</b></th><th align="center"><b>Scope</b></th> <th align="center"><b>Posistion</b></th><th align="center"><b>Status</b></th><th align="center"><b>Version Date</b></th> </tr> <xsl:for-each select="sf1"> <tr> <td><xsl:value-of select="sf2[1] "/></td> <xsl:variable name="str" select="substring-after(.,' ')"/> <td><xsl:value-o f select="sf2[2]"/></td> <td><xsl:value-o f select="sf2[3]"/></td>

<td><xsl:value-o f select="sf2[4]"/></td> <td><xsl:value-o f select="sf2[5]"/></td> <td><xsl:value-o f select="sf2[6]"/></td> </tr> </xsl:for-each> </table> </xsl:when> </xsl:choose> </xsl:template>

<xsl:template match="fs"> <p/> <b>File Segment: </b> <xsl:for-each select="sf1"> <xsl:value-of select="."/> <xsl:if test="position() != last()">; </xsl:if> </xsl:for-each> <xsl:if test="not(following-sibling::dc) and not(following-sibling::mc) and (parent::DialogRecord[@Format='7'] or parent::DialogRecord[@Format='9'] or p arent::DialogRecord[@Format='19'])"> <p align="center"><b>Original Publication Data</b></p> </xsl:if> </xsl:template> <xsl:template match="dc"> <xsl:choose> <xsl:when test="not(preceding-sibling::fs)"> <p/> <b>DWPI Codes: </b> </xsl:when> <xsl:otherwise> <br/> <b>DWPI Codes: </b> </xsl:otherwise> </xsl:choose> <xsl:for-each select="sf1[string-length(normalize-space(.)) != 0]"> <xsl:choose> <xsl:when test="count(sf2) &gt; 1"> <xsl:for-each select="sf2"> <xsl:value-of select="." disable-outputescaping="yes"/> <xsl:if test="position() != last ()">; </xsl:if> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:value-of select="." disable-output-escaping ="yes"/> </xsl:otherwise> </xsl:choose> <xsl:if test="position() != last()">; </xsl:if> </xsl:for-each> <!--<xsl:call-template name="dccodes"> <xsl:with-param name="string" select="."/> </xsl:call-template>

<xsl:for-each select="following-sibling::dc"> <xsl:text>; </xsl:text> <xsl:call-template name="dccodes"> <xsl:with-param name="string" select="."/> </xsl:call-template> </xsl:for-each>--> <xsl:if test="not(following-sibling::mc) and (parent::DialogRecord[@Form at='7'] or parent::DialogRecord[@Format='9'] or parent::DialogRecord[@Format='19 '])"> <p align="center"><b>Original Publication Data</b></p> </xsl:if> </xsl:template> <!--<xsl:template name="dccodes"> <xsl:param name="string"/> <xsl:choose> <xsl:when test="contains($string,' ')"> <xsl:value-of select="concat(substring-before($string,' '),'; ')"/> <xsl:call-template name="dccodes"> <xsl:with-param name="string" select="su bstring-after($string,' ')"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$string"/> </xsl:otherwise> </xsl:choose> </xsl:template>--> <xsl:template match="mc"> <xsl:choose> <xsl:when test="not(preceding-sibling::fs) and not(preceding-sib ling::dc)"> <p/> <xsl:if test="@* = 'CPI'"><b>Manual Codes (CPI): </b></xsl:if> <xsl:if test="@* = 'EPI'"><b>Manual Codes (EPI): </b></xsl:if> <xsl:for-each select="sf1"> <xsl:value-of select="." /> <xsl:if test="po sition() != last()">; </xsl:if> </xsl:for-each> </xsl:when> <xsl:otherwise> <br/> <xsl:if test="@* = 'CPI'"><b>Manual Codes (CPI): </b></xsl:if> <xsl:if test="@* = 'EPI'"><b>Manual Codes (EPI): </b></xsl:if> <xsl:for-each select="sf1"> <xsl:value-of select="." /> <xsl:if test="po sition() != last()">; </xsl:if> </xsl:for-each> </xsl:otherwise> </xsl:choose>

<xsl:if test="not(following-sibling::mc) and (parent::DialogReco rd[@Format='7'] or parent::DialogRecord[@Format='9'] or parent::DialogRecord[@Fo rmat='19'])"> <p align="center"><b>Original Publication Data</b></p> </xsl:if> </xsl:template> <xsl:template match="ep | wo"> <xsl:variable name="returnPF" select="preceding-sibling::aa"/> <p> <xsl:choose> <xsl:when test="name(.) = 'ep'"> <b>EPO</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'wo'"> <b>WIPO</b><br/><br/> </xsl:when> </xsl:choose> <xsl:for-each select="sf1"> <xsl:for-each select="sf2[position() = 1]"> <xsl:variable name="refn" select="substring-before(.,' (')"/> <b><xsl:value-of select="concat('&lt;a name=&quot;',$ref n,'&quot;&gt;',$refn,'&lt;/a&gt;')" disable-output-escaping="yes"/></b> <xsl:value-of select="concat(' (',substring-after(.,'(') )"/><br/> </xsl:for-each> <xsl:for-each select="sf2[position() != 1]"> <xsl:for-each select="sf3"> <xsl:choose> <xsl:when test="contains(.,'Designated S tates')"> <b><xsl:value-of select="concat( substring-before(.,')'),')')" disable-output-escaping="yes"/></b> <xsl:value-of select="substringafter(.,')')" disable-output-escaping="yes"/> </xsl:when> <xsl:when test="contains(.,':') and stri ng-length(substring-before(.,':')) &lt;= 20 and not(starts-with(normalize-space( .),'&lt;'))"> <b><xsl:value-of select="concat( substring-before(.,':'),':')" disable-output-escaping="yes"/></b> <xsl:value-of select="substringafter(.,':')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:choose> <xsl:when test="contains (.,'(Regional')"> <b><xsl:value-of select="concat(substring-before(.,')'),')')"/></b> <xsl:value-of se lect="substring-after(.,')')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select=". " disable-output-escaping="yes"/> </xsl:otherwise>

</xsl:choose> </xsl:otherwise> </xsl:choose> <xsl:if test="position() != last() and not(start s-with(normalize-space(.),'&lt;ol')) and not(starts-with(normalize-space(.),'Cla im'))"><br/></xsl:if> </xsl:for-each> <xsl:if test="position() != last()"><br/></xsl:if> </xsl:for-each> <xsl:if test="ancestor::DialogRecord[@Format='7'] or ancestor::DialogRecord[@For mat='9'] or ancestor::DialogRecord[@Format='19']"> <br/> <xsl:element name="a"> <xsl:attribute name="href"> <xsl:value-of select="concat('#',$returnPF)"/> </xsl:attribute> Back to Family </xsl:element> </xsl:if> <xsl:if test="position() != last()"><br/><br/></xsl:if> </xsl:for-each> </p> </xsl:template> <xsl:template match="ar | at | au | be | br | ca | ch | cn | cs | dd | de | dk | es | fi | fr | gb | hu | ie | il | in | it | jp | kr | lu | mx | nl | no | nz | ph | pt | rd | ro | ru | se | sg | sk | su | tw | tp | us | za"> <xsl:variable name="returnPF" select="preceding-sibling::aa"/> <p> <xsl:choose> <xsl:when test="name(.) = 'us'"> <b>United States</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'au'"> <b>Australia</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'at'"> <b>Austria</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'ar'"> <b>Argentina</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'be'"> <b>Belgium</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'br'"> <b>Brazil</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'ca'"> <b>Canada</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'cn'"> <b>China</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'cs'"> <b>Chzechoslovakia</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'dd'"> <b>Germany</b><br/><br/> </xsl:when>

<xsl:when test="name(.) = 'de'"> <b>Germany</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'dk'"> <b>Denmark</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'es'"> <b>Spain</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'fi'"> <b>Finland</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'fr'"> <b>France</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'gb'"> <b>United Kingdom</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'hu'"> <b>Hungary</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'ie'"> <b>Ireland</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'il'"> <b>Israel</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'in'"> <b>India</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'it'"> <b>Italy</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'jp'"> <b>Japan</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'lu'"> <b>Luxembourgh</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'mx'"> <b>Mexico</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'nl'"> <b>Netherlands</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'no'"> <b>Norway</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'nz'"> <b>New Zealand</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'ph'"> <b>Philippines</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'pt'"> <b>Portugal</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'rd'"> <b>Research Disclosure</b><br/><br/> </xsl:when>

<xsl:when test="name(.) = 'ro'"> <b>Romania</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'ru'"> <b>Russian Federation</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'se'"> <b>Sweden</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'sg'"> <b>Singapore</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'sk'"> <b>Slovakia</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'za'"> <b>South Africa</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'kr'"> <b>South Korea</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'su'"> <b>Soviet Union</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'ch'"> <b>Switzerland</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'tw'"> <b>Taiwan</b><br/><br/> </xsl:when> <xsl:when test="name(.) = 'tp'"> <b>Technology Disclosure</b><br/><br/> </xsl:when> </xsl:choose> <xsl:for-each select="sf1"> <xsl:for-each select="sf2[position() = 1]"> <xsl:variable name="refn" select="substring-before(.,' (')"/> <b><xsl:value-of select="concat('&lt;a name=&quot;',$ref n,'&quot;&gt;',$refn,'&lt;/a&gt;')" disable-output-escaping="yes"/></b> <xsl:value-of select="concat(' (',substring-after(.,'(') )"/><br/> </xsl:for-each> <xsl:for-each select="sf2[position() != 1]"> <xsl:for-each select="sf3"> <xsl:choose> <xsl:when test="contains(.,':') and stri ng-length(substring-before(.,':')) &lt;= 20"> <xsl:choose > <xsl:when test=" starts-with(.,'Claim') and contains(.,'What is claimed is:&lt;/div') and (contai ns(substring-after(.,':'),'1&lt;/b&gt;.') or contains(substring-after(.,':'),'&g t;1.'))"> <b><xsl: value-of select="concat(substring-before(.,':'),':')"/></b> <xsl:val ue-of select="concat(substring-before(substring-after(.,':'),'is:'),'is:&lt;/div &gt; ','&lt;ol&gt;&lt;li&gt;',substring-after(.,'.'))" disable-output-escaping=" yes"/> </xsl:when> <xsl:when test="

starts-with(.,'Claim') and contains(.,'We claim:&lt;/div') and (contains(substri ng-after(.,':'),'1&lt;/b&gt;.') or contains(substring-after(.,':'),'&gt;1.'))"> <b><xsl: value-of select="concat(substring-before(.,':'),':')"/></b> <xsl:val ue-of select="concat(substring-before(substring-after(.,':'),'claim:'),'claim:&l t;/div&gt; ','&lt;ol&gt;&lt;li&gt;',substring-after(.,'.'))" disable-output-esca ping="yes"/> </xsl:when> <xsl:when test=" starts-with(.,'Claim') and contains(substring-after(.,':'),'1&lt;/b&gt;.')"> <b><xsl: value-of select="concat(substring-before(.,':'),':')"/></b> <xsl:val ue-of select="concat('&lt;ol&gt;&lt;li&gt;',substring-after(.,'.'))" disable-out put-escaping="yes"/> </xsl:when> <xsl:when test=" starts-with(.,'Claim') and contains(substring-after(.,':'),'&lt;ol&gt;&lt;li&gt; 1.')"> <b><xsl: value-of select="concat(substring-before(.,':'),':')"/></b> <xsl:val ue-of select="concat('&lt;ol&gt;&lt;li&gt;',substring-after(.,'.'))" disable-out put-escaping="yes"/> </xsl:when> <xsl:otherwise> <b><xsl: value-of select="concat(substring-before(.,':'),':')"/></b> <xsl:val ue-of select="substring-after(.,':')" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="." disable -output-escaping="yes"/> </xsl:otherwise> </xsl:choose> <xsl:if test="position() != last()"><br/></xsl:i f> </xsl:for-each> <xsl:if test="position() != last()"><br/></xsl:if> </xsl:for-each> <xsl:if test="ancestor::DialogRecord[@Format='7'] or ancestor::DialogRecord[@For mat='9'] or ancestor::DialogRecord[@Format='19']"> <br/> <xsl:element name="a"> <xsl:attribute name="href"> <xsl:value-of select="concat('#',$returnPF)"/> </xsl:attribute> Back to Family </xsl:element> </xsl:if> <xsl:if test="position() != last()"><br/><br/></xsl:if> </xsl:for-each> </p>

</xsl:template> <xsl:template match="im"> <p /> <xsl:choose> <xsl:when test="@* = 'XA'"> <div style="text-align:center"><b>Extension Abstract Image</b></ div><br/> </xsl:when> <xsl:otherwise> <div style="text-align:center"><b>Main Drawing Sheet(s) or Clipp ed Structure(s)</b></div><br/> </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="number(substring-before(substring-after(.,'width =&quot;'),'&quot;')) &gt; 550 and number(substring-before(substring-after(.,'hei ght=&quot;'),'&quot;')) &gt; 400"> <xsl:value-of select="concat('&lt;div style=&quot;text-a lign: center;&quot;&gt;',substring-before(.,'width'),'width=&quot;550&quot; heig ht=&quot;400&quot;/&gt;&lt;/div&gt;')" disable-output-escaping="yes"/> </xsl:when> <xsl:when test="number(substring-before(substring-after(.,'width =&quot;'),'&quot;')) &gt; 550"> <xsl:value-of select="concat('&lt;div style=&quot;text-a lign: center;&quot;&gt;',substring-before(.,'width'),'width=&quot;550&quot; heig ht',substring-after(.,'height'),'&lt;/div&gt;')" disable-output-escaping="yes"/> </xsl:when> <xsl:when test="number(substring-before(substring-after(.,'heigh t=&quot;'),'&quot;')) &gt; 400"> <xsl:value-of select="concat('&lt;div style=&quot;text-a lign: center;&quot;&gt;',substring-before(.,'height'),'height=&quot;400&quot;/&g t;&lt;/div&gt;')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('&lt;div style=&quot;text-a lign: center;&quot;&gt;',.,'&lt;/div&gt;')" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="basic01"> <tr> <xsl:for-each select="sf2"> <xsl:choose> <xsl:when test="position() = 1"> <xsl:variable name="refp" select="normalize-space(.)"/> <xsl:variable name="refk" select="normalize-space(following-sibl ing::sf2[1])"/> <td valign="top"> <xsl:choose> <xsl:when test="ancestor::DialogRecord[@Format=' 7'] or ancestor::DialogRecord[@Format='9'] or ancestor::DialogRecord[@Format='19 ']"> <xsl:value-of select="concat('&lt;a href =&quot;#',$refp,' ',$refk,'&quot;&gt;',$refp,'&lt;/a&gt;')" disable-output-escap ing="yes" /> </xsl:when> <xsl:otherwise>

<xsl:value-of select="$refp"/> </xsl:otherwise> </xsl:choose> </td> </xsl:when> <xsl:when test="position() = 4"> <td valign="top"><xsl:value-of select="." /></td> </xsl:when> <xsl:otherwise> <td valign="top" align="center"><xsl:value-of select="." /></td> </xsl:otherwise> </xsl:choose> </xsl:for-each> </tr> </xsl:template> <xsl:template name="equiv01"> <tr> <xsl:for-each select="sf2"> <xsl:choose> <xsl:when test="position() = 1"> <xsl:variable name="refp" select="normalize-space(.)"/> <xsl:variable name="refk" select="normalize-space(following-sibl ing::sf2[1])"/> <td valign="top"> <xsl:choose> <xsl:when test="ancestor::DialogRecord[@Format=' 7'] or ancestor::DialogRecord[@Format='9'] or ancestor::DialogRecord[@Format='19 ']"> <xsl:value-of select="concat('&lt;a href =&quot;#',$refp,' ',$refk,'&quot;&gt;',$refp,'&lt;/a&gt;')" disable-output-escap ing="yes" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="$refp"/> </xsl:otherwise> </xsl:choose> </td> </xsl:when> <xsl:when test="position() = 4"> <td valign="top"><xsl:value-of select="." /></td> </xsl:when> <xsl:otherwise> <td valign="top" align="center"><xsl:value-of select="." /></td> </xsl:otherwise> </xsl:choose> </xsl:for-each> </tr> </xsl:template> <xsl:template name="equiv02"> <tr> <xsl:for-each select="sf2"> <xsl:choose> <xsl:when test="position() = 1 or position() = 4"> <td valign="top"><xsl:value-of select="." /></td> </xsl:when> <xsl:otherwise> <td valign="top" align="center"><xsl:value-of select="." /></td> </xsl:otherwise>

</xsl:choose> </xsl:for-each> </tr> </xsl:template> <xsl:template name="resize"> <xsl:param name="string1"/> <xsl:param name="string2"/> <xsl:param name="string3"/> <xsl:if test="string-length(normalize-space($string1)) != 0"> <xsl:choose> <xsl:when test="contains($string1,'- Preferred') or contains($st ring1,'- Preparation') or starts-with($string1,'Preferred')"> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="substring-before($string1, ':') " /> <xsl:text disable-output-escaping="yes">:</xsl:t ext></b> <xsl:value-of select="substring-after($string1, ':')" disable-output-escaping="yes"/><br/> </xsl:when> <xsl:when test="starts-with($string1,'SPECIFIC') or starts-with( $string1,'EXAMPLE')"> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <b><xsl:value-of select="substring-before($string1, '-') " /> <xsl:text disable-output-escaping="yes">-</xsl:t ext></b> <xsl:value-of select="substring-after($string1, '-')" disable-output-escaping="yes"/><br/> </xsl:when> <xsl:otherwise> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text> <xsl:value-of select="$string1" disable-output-escaping= "yes"/><br/> </xsl:otherwise> </xsl:choose> </xsl:if>

<xsl:choose> <xsl:when test="string-length(normalize-space($string3)) != 0"> <xsl:call-template name="resize2"> <xsl:with-param name="string" select="co ncat(substring-before($string2,'&gt;'),'&gt;')"/> </xsl:call-template> <br/> <xsl:choose> <xsl:when test="contains($string3,'&lt;i mg src')"> <xsl:variable name="var1" select ="substring-before($string3,'&lt;img src')"/> <xsl:variable name="var2" select ="concat('&lt;img src',substring-after($string3,'&lt;img src'))" /> <xsl:variable name="var3" select ="substring-after($var2,'&gt;')"/> <xsl:call-templa te name="resize"> <xsl:wit h-param name="string1" select="$var1"/> <xsl:wit h-param name="string2" select="$var2" /> <xsl:wit h-param name="string3" select="$var3"/> </xsl:call-templ ate> </xsl:when> <xsl:otherwise> <xsl:value-of select="$s tring3" disable-output-escaping="yes"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:call-template name="resize2"> <xsl:with-param name="string" select="$s tring2"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template name="resize2"> <xsl:param name="string"/> <xsl:choose> <xsl:when test="number(substring-before(substring-after($string, 'width=&quot;'),'&quot;')) &gt; 550 and number(substring-before(substring-after( $string,'height=&quot;'),'&quot;')) &gt; 400"> <xsl:value-of select="concat('&lt;div style=&quot;text-a lign: center;&quot;&gt;',substring-before($string,'width'),'width=&quot;550&quot ; height=&quot;400&quot;/&gt;&lt;/div&gt;')" disable-output-escaping="yes"/> </xsl:when> <xsl:when test="number(substring-before(substring-after($string, 'width=&quot;'),'&quot;')) &gt; 550"> <xsl:value-of select="concat('&lt;div style=&quot;text-a lign: center;&quot;&gt;',substring-before($string,'width'),'width=&quot;550&quot ; height',substring-after($string,'height'),'&lt;/div&gt;')" disable-output-esca ping="yes"/> </xsl:when>

<xsl:when test="number(substring-before(substring-after($string, 'height=&quot;'),'&quot;')) &gt; 400"> <xsl:value-of select="concat('&lt;div style=&quot;text-a lign: center;&quot;&gt;',substring-before($string,'height'),'height=&quot;400&qu ot;/&gt;&lt;/div&gt;')" disable-output-escaping="yes"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat('&lt;div style=&quot;text-a lign: center;&quot;&gt;',$string,'&lt;/div&gt;')" disable-output-escaping="yes"/ > </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="*" /> </xsl:stylesheet>