SMMNR04104_기구관리기록.xsl 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="euc-kr"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  3. <xsl:template match="/">
  4. <html>
  5. <body>
  6. <!-- <head>
  7. <title>기구관리기록</title>
  8. <style type="text/css">
  9. body,
  10. input,
  11. select,
  12. table,
  13. textarea,
  14. .vs_button {
  15. font-family:돋움;
  16. font-size:9pt;
  17. }
  18. </style>
  19. <script language="JavaScript">
  20. function fHiddenCommonInfo(){
  21. patinfo.style.display="none";
  22. }
  23. </script>
  24. </head>
  25. <body > -->
  26. <div id="page" style="position:relative; top:5px; width:682px; ">
  27. <table border="1" frame="box" bordercolor="silver" cellspacing="0" width="100%">
  28. <tr>
  29. <td bgcolor = "#e0e0e0" width="20%" align="center">Item</td>
  30. <td bgcolor = "#e0e0e0" width="10%" align="center">부위</td>
  31. <td bgcolor = "#e0e0e0" width="10%" align="center">구분</td>
  32. <td bgcolor = "#e0e0e0" width="20%" align="center">시행일시</td>
  33. <td bgcolor = "#e0e0e0" width="30%" align="center">비고</td>
  34. <td bgcolor = "#e0e0e0" width="10%" align="center">수행자</td>
  35. </tr>
  36. <xsl:apply-templates select="/SignData/SignInfo/instruinfo/instrulist"/>
  37. </table>
  38. </div>
  39. </body>
  40. </html>
  41. </xsl:template>
  42. <xsl:template match="instrulist">
  43. <tr>
  44. <td align="left" width="20%"><xsl:value-of select="itemnm"/></td>
  45. <td align="left" width="10%"><xsl:value-of select="loc"/></td>
  46. <td align="center" width="10%"><xsl:value-of select="opflag"/></td>
  47. <td align="center" width="20%">
  48. <xsl:value-of select="substring(opdd,1,4)"/>
  49. <xsl:if test="opdd"><xsl:text>-</xsl:text></xsl:if>
  50. <xsl:value-of select="substring(opdd,5,2)"/>
  51. <xsl:if test="opdd"><xsl:text>-</xsl:text></xsl:if>
  52. <xsl:value-of select="substring(opdd,7,2)"/>
  53. <xsl:if test="opdd"><xsl:text> </xsl:text></xsl:if>
  54. <xsl:value-of select="substring(optm,1,2)"/>
  55. <xsl:if test="optm"><xsl:text>:</xsl:text></xsl:if>
  56. <xsl:value-of select="substring(optm,3,2)"/>
  57. </td>
  58. <td align="left" width="30%"><xsl:value-of select="cathremark"/></td>
  59. <td align="center" width="10%"><xsl:value-of select="opusernm"/></td>
  60. </tr>
  61. </xsl:template>
  62. </xsl:stylesheet>