SMMNR04101_간호수행기록.xsl 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. <!--
  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. -->
  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="18%" align="center">Item</td>
  30. <td bgcolor = "#e0e0e0" width="7%" align="center">부위</td>
  31. <td bgcolor = "#e0e0e0" width="18%" align="center">수행일시</td>
  32. <td bgcolor = "#e0e0e0" width="35%" align="center">수행요소</td>
  33. <td bgcolor = "#e0e0e0" width="5%" align="center">예약설정</td>
  34. <td bgcolor = "#e0e0e0" width="10%" align="center" colspan="2">예약주기</td>
  35. <td bgcolor = "#e0e0e0" width="7%" align="center">수행자</td>
  36. </tr>
  37. <xsl:apply-templates select="/SignData/SignInfo/careexecinfo/careexeclist"/>
  38. </table>
  39. </div>
  40. </body>
  41. </html>
  42. </xsl:template>
  43. <xsl:template match="careexeclist">
  44. <tr>
  45. <td width="18%" align="left" ><xsl:value-of select="itemnm"/></td>
  46. <td width="7%" align="left" ><xsl:value-of select="loc"/></td>
  47. <td width="15%" align="center">
  48. <xsl:value-of select="substring(execdd,1,4)"/>
  49. <xsl:if test="execdd"><xsl:text>-</xsl:text></xsl:if>
  50. <xsl:value-of select="substring(execdd,5,2)"/>
  51. <xsl:if test="execdd"><xsl:text>-</xsl:text></xsl:if>
  52. <xsl:value-of select="substring(execdd,7,2)"/>
  53. <xsl:if test="execdd"><xsl:text> </xsl:text></xsl:if>
  54. <xsl:value-of select="substring(exectm,1,2)"/>
  55. <xsl:if test="exectm"><xsl:text>:</xsl:text></xsl:if>
  56. <xsl:value-of select="substring(exectm,3,2)"/>
  57. </td>
  58. <td width="35%" align="left"><xsl:value-of select="elmtcd"/></td>
  59. <td width="5%" align="center"><xsl:value-of select="rsrvyn"/></td>
  60. <td width="5%" align="center"><xsl:value-of select="execprid"/></td>
  61. <td width="5%" align="center"><xsl:value-of select="execpridunit"/></td>
  62. <td width="10%" align="center"><xsl:value-of select="usernm"/></td>
  63. </tr>
  64. </xsl:template>
  65. </xsl:stylesheet>