NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">

<xsl:import href="2.xsl" />
<!-- <xsl:include href="2.xsl" /> -->

<!--
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
exclude-result-prefixes="xsl xs fn"
>
-->
<xsl:output method="html"/>


<xsl:template match="/">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="Doc">
<xsl:variable name="DocId">
<xsl:value-of select="*/Head/DocNo"/>-<xsl:value-of select="*/Head/DocSeq"/>
</xsl:variable>

<div>
<xsl:attribute name="id">
<xsl:value-of select="$DocId"/>
</xsl:attribute>
<xsl:attribute name="class">
<xsl:text>document</xsl:text>
<xsl:choose>
<xsl:when test="*/Head/DocTypeCode='MD01'">
<xsl:text> chart</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text> order</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>

<div class="header">
<xsl:apply-templates select="*/Head"/>
</div>
<div class="body">
<xsl:apply-templates select="*/Body">
<xsl:with-param name="DocId" select="$DocId"/>
</xsl:apply-templates>
</div>
</div>
</xsl:template>


<!--
<xsl:template match="Head">
<xsl:call-template name="title"/>
<xsl:call-template name="state"/>
</xsl:template>
-->
<xsl:template name="title">
<table class="title">
<tr>
<td class="DocTitle">
<xsl:value-of select="DocTitle"/>
</td>
</tr>
</table>
</xsl:template>

<xsl:template name="state">
<table class="state">
<tr>
<td>
<xsl:value-of select="DocSeq"/>
<xsl:text>版:</xsl:text>
</td>
<td>
<xsl:value-of select="DocDate"/>
</td>
</tr>
<tr>
<td>
<xsl:text>作成日:</xsl:text>
</td>
<td>
<xsl:value-of select="CreateDate"/>
</td>
</tr>
</table>
</xsl:template>



<xsl:template match="Body">
<xsl:param name="DocId"/>
<table class="body">
<xsl:apply-templates select="*[name()!='ORDERSEC'][name()!='iframe']"/>

<xsl:variable name="elem">
<root>
<parent>
<child>YO HO!1</child>
</parent>
<parent>
<child>YO HO!2</child>
</parent>
<parent>
<child>YO HO!3</child>
</parent>
</root>
</xsl:variable>

<xsl:for-each select="item[attr='PPA']">
<tr>
<td>
<xsl:value-of select="position()"/>
</td>
<td>
<xsl:value-of select="name()"/>=<xsl:value-of select="."/>
</td>
</tr>
</xsl:for-each>

<!-- <xsl:value-of select="$elem"/> -->
<!--
<xsl:for-each select="msxsl:node-set($elem)/root/*">
<tr>
<td>
<xsl:value-of select="."/>
</td>
</tr>
</xsl:for-each>
-->
</table>

<xsl:apply-templates select="ORDERSEC"/>

<xsl:apply-templates select="iframe">
<xsl:with-param name="DocId" select="$DocId"/>
</xsl:apply-templates>

</xsl:template>

<xsl:template match="Problem">
<xsl:call-template name="Section">
<xsl:with-param name="SectionName" select="'#'"/>
</xsl:call-template>
</xsl:template>

<xsl:template match="Subjective">
<xsl:call-template name="Section">
<xsl:with-param name="SectionName" select="'S'"/>
</xsl:call-template>
</xsl:template>

<xsl:template match="Objective">
<xsl:call-template name="Section">
<xsl:with-param name="SectionName" select="'O'"/>
</xsl:call-template>
</xsl:template>

<xsl:template match="Assesment">
<xsl:call-template name="Section">
<xsl:with-param name="SectionName" select="'A'"/>
</xsl:call-template>
</xsl:template>

<xsl:template match="Plan">
<xsl:call-template name="Section">
<xsl:with-param name="SectionName" select="'P'"/>
</xsl:call-template>
</xsl:template>


<xsl:template name="Section">
<xsl:param name="SectionName"/>
<xsl:for-each select="*">
<tr class="paragraph">
<xsl:choose>
<xsl:when test="name()='Doc'">
<td colspan="2">
<xsl:apply-templates select="."/>
</td>
</xsl:when>
<xsl:otherwise>
<td><xsl:value-of select="$SectionName"/></td>
<td>
<xsl:apply-templates select="."/>
</td>
</xsl:otherwise>
</xsl:choose>
</tr>
</xsl:for-each>
</xsl:template>


<xsl:template match="Free">
<div class="chart-free" contenteditable="true">
<xsl:value-of select="."/>
</div>
</xsl:template>

<xsl:template match="LINK">
<div class="dummy-focus" contenteditable="true" tabindex="-1"></div>
<div class="doc-link">
<xsl:value-of select="."/>
</div>
</xsl:template>

<xsl:template match="ORDERSEC">
<div class="ordersec">
<xsl:apply-templates/>
</div>
</xsl:template>

<xsl:template match="iframe">
<xsl:param name="DocId"/>

<div class="iframeDiv">
<iframe>
<xsl:attribute name="id">
<xsl:text>frame-</xsl:text><xsl:value-of select="$DocId"/>
</xsl:attribute>
</iframe>

<div class="iframe-contents">
<xsl:value-of select="."/>
</div>
</div>
</xsl:template>

</xsl:stylesheet>
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.