Similar documents
XMLとXSLT

Web2.0 REST API + XSLT Amazon hon.jp API XML Consortium XML ( ) REST(GET)API hon.jp Amazon.co.jp Google Map Exif to RDF(kanzaki.com) REST +

スライド 1

Webプログラミング演習

6 2 1

スタイルシートでデザインを整えよう

PostgreSQL の XML 機能解説と将来拡張への提言


~/WWW-local/compIID (WWW IID ) $ mkdir WWW-local $ cd WWW-local $ mkdir compiid 3. Emacs index.html n (a) $ cd ~/WWW/compIID

XSLT XSLT xsd XSLT XML xsd XPath <xsl:template ]

XSLの活用と技術内容の紹介


JavaScript の使い方

(\201\234NEX_DT_2_1.xls)

XMLプログラミング(DOM編)

untitled

_IMv2.key

1. スキーマを作成する チュートリアル : 簡単な日記帳を作る 最初のステップとして 簡単な日記帳を作ってみましょう 件名 と 本文 があるだけの簡単なものです 1. スキーマを作成する では まず 日記帳 のスキーマを定義します スキーマは XML ファイル として作成します コラム :XML

FileList Convert a pdf file!

経営論集2011_07_小松先生.indd


文京女子大学外国語学部

第3学年    学習指導案

4. ご利 者さま情報の登録について ( 初回ご利 時 ) システムの初回ご利用時に, ご利用者情報の登録を行なっていただく必要がございます ご利用者情報は, 主に託送申込みを担当される方を, まず 名, 代表者さま としてご登録していただきます その他に, ご利用者さまの追加登録をご希望される場合

電子納品特記仕様書 業務 1 適用本業務は, 電子納品の対象業務とする 電子納品とは, 調査, 設計, 工事などの各業務段階の最終成果を電子成果品として納品するものとする をいう ここでいう電子成果品とは, 盛岡市電子納品ガイドライン ( 案 )( 以下, ガイドライン という ) に基づいて作成し

hands_on_4.PDF

SVG資料第10回目(その2) Ajaxによる同期通信と非同期通信の違い

Microsoft PowerPoint - CSS(Cascading Style Sheets)の基本.pptx

Lotus Domino XML活用の基礎!

SMILE-BS_人事給与

xslt #xslt

Web プログラミング 1 JavaScript (4) (4 章 ) 2013/7/17( 水 ) 日時 講義内容 4/10 ( 水 ) ガイダンス Web (1 章 ) 4/17 ( 水 ) HTML+CSS (1) (2 章 ) 4/24 ( 水 ) HTML+CSS (2) (2 章 ) 5

JIS Web Web JIS JIS 5.1.a 5.1.b 5.2.a 5.2.b 5.2.c 5.2.d 5.2.e 5.2.f 5.2.g 5.3.a 5.3.b 5.3.c 5.3.d 5.3.e 5.3.f 5.3.g 5.3.h 5.3.i 5.4.a 5.4.b 5.4.c 5.4.

ohp.mgp


II 2 p.2 2 GET POST form action URL Aisatsu 2.1 Servlet GET GET : Query String QueryStringTest.java 1 import java.io.ioexception; 2 import java.io.pri


PowerPoint プレゼンテーション

KeyWeb Creator 概要 What s KeyWeb Creator? 動的なホームページを作成するためのツール!! 従来の Web ページ DB を利用した Web ページ <HTML> <HEAD> <TITLE>show_book</TITLE> </HEAD> <BODY> <DI

ii II Web Web HTML CSS PHP MySQL Web Web CSS JavaScript Web SQL Web


アクセス履歴の確認 アクセス履歴の確認 名刺データへのアクセス履歴を 日単位で確認または月単位でファイル出力できます 日単位の履歴を確認する 名刺データへの過去 1 ヵ月のアクセス履歴を 日単位で確認できます 1 名刺管理画面を表示し 名刺管理 アクセス履歴 の順にクリックします 名刺管理画面の表示

PowerPoint プレゼンテーション

XISによる効率良いシステム開発のポイント

ビジネスサーバ設定マニュアル_Standard応用編

メディプロ1 Javaサーブレット補足資料.ppt

名づけてねっとドメイン登録情報 (WHOIS) 変更申込書 ( 汎用 JP) 情報変更お申し込みにあたり 以下の内容をご一読ください オンラインでの情報変更について 登録者名以外の登録情報はオンラインで変更が可能です 是非ご利用ください 契約者 ID やパスワードが分からない場合は パスワードを忘れ

padding( パディング ) padding プロパティでボックスの内側の余白を指定します この部分の内側には背景 ( 背景色や背景画像 ) を表示できます border( ボーダー ) border プロパティでボックスの境界線を指定します ボーダーには色 太さ 線の種類を指定できます 画像で

Transcription:

.xml.xsl bcs.dtd

2. 提案 BCS.DTD のエレメントと属性 BCS.DTD のエレメントの属性を以下に示す 出 エレメント説明 現 属性 下位構造 数 code 適宜工事コード等を記述する 任 意 Common Docinfo Reference UkeoiKeiyakusyoHikaeSoufusyo KoujiTyakusyuTodoke SongaihokenKeiyakuHoukokusyo GenbaJimusyoKaisetuTodoke GenbaDairininSenninTodoke KanriGijyutusyaSenninTodoke SyanaiSosikiHyou GenbaKakariinHenseiTodoke SyuyouKyouryokuKaisyaSiyouTodoke 最初に出現する KoujiKouteiHyou Bcs エレメント GenbaKyuugyouTodoke bcsreport SikenSeisekiHoukokusyo KoujiHoukokusyo 必 須 KoujiRenrakusyoUtiawaseKiroku TatiaiKensaNegai SinseiTodokedesyoruiItirannhyou Seikyuusyo DekidakaTyousyo KoujiKanseiKensaNegai JisyuKensaHoukokusyo KoujiKanseiTodoke KoujiKanseiHikiwatasisyo KanseiTosyoHikiwatasisyo MiryouJikoutouOboegaki Date

2 Common 共通管理情 報 ID ユニークの識別番号 任 意 TatemonoGaiyou Hattyuusya Kanrisya Sekousya 3 Docinfo 書誌情報 または ID ユニークの識別番号 任 意 Property 0 4 Reference 実体または参照される文書 または ID ユニークの識別番号 任意 Title Div 0 5 Date 日付に関する情報 ID ユニークの識別番号 任意 Date_Format Meisyou 6 TatemonoGaiyou 建物概要 ID ユニークの識別番号 任意 Address KoukiTyakkoubi KoukiKanseibi Ukeoikin 7 Hattyuusya 発注者 ID ユニークの識別番号 任意 KouseiKigyou 8 Kanrisya 監理者 ID ユニークの識別番号 任意 KouseiKigyou 9 Sekousya 施工者 type ID (Ukeoisya Keiyakusya) 選択ユニークの識別番号 必須任意 KouseiKigyou 0 Meisyou 名称 物件 名に関する ID ID #IMPLIED ユニークの識別番号 任 意 Tatemono_Format

情報 Address 住所や所在 地に関する 情報 または ID ユニークの識別番号 任 意 Address_Format 0 2 KoukiTyakkoubi 工事着工日 ID ユニークの識別番号 任意 Date_Format 3 KoukiKanseibi 工事完成日 ID ユニークの識別番号 任意 Date_Format 4 Ukeoikin 請負金 ID ユニークの識別番号 任意 Money_Format JV (yes no) 選択 必須 5 KouseiKigyou 発注者 監理者 施工者を構成する企業 以上 Jvname soshiki sponsor JV 名 (KensetuJV SetubiJV Company) 選択 (yes no) 選択 任意任意任意 Com_Format Daihyousya Tantousya ID ユニークの識別番号 任意 6 Daihyousya 代表者 または ID ユニークの識別番号 任 意 Man_Format 0 0 7 Tantousya 担当者 以 ID ユニークの識別番号 任 意 Man_Format 上

建物に関す る情報単位 8 Tatemono_Format ( 名称の下位に出現 ID ユニークの識別番号 任 意 Koujimei Kasyou Name 可 ) 9 Koujimei 工事名 link xref 20 Kasyou 仮称 または link xref 0 2 Name 名称 link xref 22 Address_Format 住所や所在地に関する情報の単位 (Addressの下位に出現可 ) ID ユニークの識別番号 任 意 Yuubin Todoufuken Sityouson Banti Tatemonomei 23 Yuubin 郵便番号 24 Todoufuken 都道府県 25 Sityouson 市町村 26 Banti 番地 27 Tatemonomei 建物名 または link xref link xref link xref link xref link xref

0 28 Date_Format 日付に関す る情報の単 位 Year Month Day 29 Year 年 30 Month 月 3 Day 日 金額に関す link xref link xref link xref 32 Money_Format る情報の単位 ( 請負金の下位に出現 Sougaku Kingaku Zei 可 ) 33 Sougaku 総額 34 Kingaku 金額 35 Zei 税 会社に関す link xref link xref link xref 36 Com_Format る情報の単位 ( 構成企業の下位に出 Syamei Tenmei Address 現可 ) 37 Syamei 社名 38 Tenmei 店名 人に関する

39 Man_Format 情報の単位 ( 代表者 担当者の下位に出現可 ) Simei Syokunou Syokui Address 40 Simei 氏名 4 Syokunou 職能 42 Syokui 職位 個々の書誌 link xref link xref link xref 43 Property 情報を包括するエレメント (Docinfoの下位に出現 0 以上 ID ユニークの識別番号 任 意 MultipleLabel MultipleAtt Property 可 ) 44 MultipleLabel 汎用的に使用できるエレメント name ID エレメント名ユニークの識別番号 任意任意 45 MultipleAtt 汎用的に使用できる属性用エレメント 0 以上 name value 属性名属性値 必須必須 46 Title 実体または参照文書用のタイトル または link xref 0 実体または 0 MultipleLabel 参照文書類 任 MultipleAtt

47 Div を包括する 以 ID ユニークの識別番号 意 Document エレメント 上 Div xmlns:xlink xlink の名前空間宣言 固定 xlink:type xlink の type 属性 任意 0 xlink:role xlink の role 属性 任意 48 Document 実体または参照文書類 以 xlink:href xlink の href 属性 任意 Graphic 上 xlink:show (new replace embed ) 選択 任意 xlink:actuate (auto uesr) 選択 任 意 xlink:title xlink の title 属性 任 意 49 Graphic 図面 写真 類 xmlns:xlink xlink の名前空間宣言 固定 xlink:type xlink の type 属性 任意 50 link リンク用エ レメント 0 以上 xlink:role xlink:href xlinkのrole 属性 xlinkのhref 属性 任意任意 xlink:show (new replace embed ) 選択 任意 xlink:actuate (auto uesr) 選択 任 意 xmlns:xlink xlink:type xlink の名前空間宣言 xlink の type 属性 固 定 任

意 0 xlink:role xlink の role 属性 任意 5 xref 相互参照用 エレメント 以 xlink:href xlink の href 属性 任意 上 xlink:show (new replace embed ) 選択 任意 xlink:actuate (auto uesr) 選択 任 意 xlink:title xlink の title 属性 必 須 index Top

2. 提案 XML および XSL A 設計事務所の提出書類 MS-WORD ファイル PDF ファイル この書類の XML ファイル この書類に対する BCS 標準の XSL ファイル 画面に表示される BCS 標準書式 index Top

-2 工事請負契約書 ( 控 ) 送付書 ( 必要に応じて使用する ) 工事請負契約書 ( 控 ) 送付書 株式会社日本設計 東京都新宿区西新宿 6-5- 新宿アイランドタワー 29 階 平成 9 年 月 5 日 渡邊 富士山 浮世絵建設共同企業体 取締役支店長黒岩高志 記 工事名 日本株式会社麻布台ビル新築工事 JOBNo. 発注者 アサセ キリシ サッポヨ協同組合 請負者 渡邊 富士山 浮世絵建設共同企業体 代表者 取締役支店長黒岩高志 構成員 渡邊建設株式会社 構成員 富士山建設株式会社 構成員 浮世絵建設株式会社 工事場所 00-000 東京都港区麻布台 丁目 3 番地 5 工 期 着手日 : 9 年 月 2 日 ~ 完成日 : 9 年 4 月 30 日 請負代金額 総額 3,3,30,33,45,0 円 内工事金額 357,63,534 円円 消費税金額 23,874,6,300,32 円 契約日 2007 年 0 月 0 日 発注方式 A. 一括発注 B. 分離発注 C. コストオン発注 D. その他 ( ) 以下の欄は日本設計の担当者が記入する欄です 発注形態. 特命発注 2. 入札発注 3. 見積合せ発注 4. 随意契約 5. その他 ( ) 工事項目工事内容 整理 No. - - 受入日 / / 保管場所 注 JOBNo. は日本設計で記入 監理で保管する -6-

<?xml version=".0" encoding="shift_jis"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/999/xsl/transform" version=".0" xmlns="http://www.w3.org/999/xhtml/strict" xmlns:xlink="http://www.w3c.org/999/xlink"> <xsl:template match="/"> <html> <head> <META http-equiv="content-style-type" content="text/css" /> <title> 工事請負契約書 ( 控 ) 送付書 </title> </head> <body bgcolor="#ffffff" text="#000000"> <Div align="center"> <xsl:apply-templates select="bcs" /> </Div> </body> </html> </xsl:template> <xsl:template match="bcs"> <Div> <p align="center"><font size="5"> 工事請負契約書 ( 控 ) 送付書 </font></p> <table border="0" width="00%"> <td width="80%"> <Div align="right"> 日付 </Div> </td> <td width="35"> 平成 <xsl:value-of select="number(common/date/date_format/year) - 988" /> 年 <xsl:valueof select="common/date/date_format/month" /> 月 <xsl:value-of select="common/date/date_format/day" /> 日 </td> </tr> </table> <table border="0" width="00%"> <td width="64"> 監理者 <td></td> </td> </tr> <td width="64"> 社名 </td> <td width="*"> <xsl:value-of select="common/kanrisya/kouseikigyou/com_format/syamei" /> </td> </tr>

<td width="64"> 所在地 </td> <td width="*"> <xsl:value-of select="common/kanrisya/kouseikigyou/com_format/address/address_format/todoufuken" /> <xsl:value-of select="common/kanrisya/kouseikigyou/com_format/address/address_format/sityouson" /> <xsl:value-of select="common/kanrisya/kouseikigyou/com_format/address/address_format/banti" /> </td> </tr> <td width="64"> </td> <td width="*"> <xsl:value-of select="common/kanrisya/kouseikigyou/com_format/address/address_format/tatemonomei" /> </td> </tr> </table> <table border="0" width="00%"> <td width="60%"></td> <td colspan="2"> 請負者 </td> </tr> <td width="60%"> </td> <td width="%"> 社名 </td> <td width="29%"> <xsl:if test="common/sekousya/kouseikigyou[@jv = 'yes']"> <xsl:value-of select="common/sekousya/kouseikigyou/@jvname" /> </xsl:if> <xsl:if test="common/sekousya/kouseikigyou[@jv = 'no']"> <xsl:value-of select="common/sekousya/kouseikigyou/com_format/syamei" /> </xsl:if> </td> </tr> <td width="60%"> </td> <td width="%"> 代表者名 </td> <td width="29%"> <xsl:value-of select="common/sekousya/kouseikigyou/daihyousya/man_format/syokunou" /> <xsl:value-of select="common/sekousya/kouseikigyou/daihyousya/man_format/syokui" /> <xsl:value-of select="common/sekousya/kouseikigyou/daihyousya/man_format/simei" /> </td> </tr>

</table> <br/> <br/> <p align="center"> 記 </p> <table width="90%" border="" align="center"> <td width="2%"> 工事名 </td> <td colspan="2"><xsl:value-of select="common/tatemonogaiyou/meisyou/tatemono_format/koujimei" /></td> </tr> <td width="2%"> 発注者 </td> <td colspan="2"> <xsl:value-of select="common/hattyuusya/kouseikigyou/com_format/syamei" /> <xsl:value-of select="common/hattyuusya/kouseikigyou/com_format/tenmei" /> </td> </tr> <xsl:if test="common/sekousya/kouseikigyou[@jv = 'yes']"> <xsl:element name="td"> <xsl:attribute name="width">2%</xsl:attribute> <xsl:attribute name="rowspan"><xsl:value-of select="count(common/sekousya/kouseikigyou [@soshiki='company']) + 2 "/></xsl:attribute> 請負者 </xsl:element> </xsl:if> <xsl:if test="common/sekousya/kouseikigyou[@jv = 'no']"> <td width="2%" rowspan="2"> 請負者 </td> </xsl:if> <td colspan="2"> <xsl:if test="common/sekousya/kouseikigyou[@jv = 'yes']"> <xsl:value-of select="common/sekousya/kouseikigyou/@jvname" /> </xsl:if> <xsl:if test="common/sekousya/kouseikigyou[@jv = 'no']"> <xsl:value-of select="common/sekousya/kouseikigyou/com_format/syamei" /> </xsl:if> </td> </tr> <td width="2%"> 代表者 </td> <td> <xsl:value-of select="common/sekousya/kouseikigyou/daihyousya/man_format/syokunou" /> <xsl:value-of select="common/sekousya/kouseikigyou/daihyousya/man_format/syokui" /> <xsl:value-of select="common/sekousya/kouseikigyou/daihyousya/man_format/simei" /> </td> </tr> <xsl:if test="common/sekousya/kouseikigyou[@jv = 'yes']"> <xsl:for-each select="common/sekousya/kouseikigyou[@soshiki='company']">

<td width="2%"> 構成会社名 </td> <td> <xsl:value-of select="com_format/syamei"/> <xsl:value-of select="common/sekousya/kouseikigyou[@soshiki='company']/com_format/syamei" /> </td> </tr> </xsl:for-each> </xsl:if> <xsl:if test="common/sekousya/kouseikigyou[@jv = 'no']"> </xsl:if> <td width="2%"> 工事場所 </td> <td colspan="2"> <xsl:value-of select="common/tatemonogaiyou/address/address_format/yuubin" /> <xsl:value-of select="common/tatemonogaiyou/address/address_format/todoufuken" /><xsl:value-of select="common/tatemonogaiyou/address/address_format/sityouson" /><xsl:value-of select="common/tatemonogaiyou/address/address_format/banti" /> </td> </tr> <td width="2%"> 工期 </td> <td colspan="2"> 着手日 : 平成 <xsl:value-of select="number(common/tatemonogaiyou/koukityakkyoubi/date_format/year) - 988" /> 年 <xsl:value-of select="common/tatemonogaiyou/koukityakkyoubi/date_format/month" /> 月 <xsl:value-of select="common/tatemonogaiyou/koukityakkyoubi/date_format/day" /> 日 ~ 完成日 : 平成 <xsl:value-of select="number(common/tatemonogaiyou/koukikanseibi/date_format/year) - 988" /> 年 <xsl:value-of select="common/tatemonogaiyou/koukikanseibi/date_format/month" /> 月 <xsl:value-of select="common/tatemonogaiyou/koukikanseibi/date_format/day" /> 日 </td> </tr> <td width="2%" rowspan="3"> 請負代金額 </td> <td width="2%"> 総額 :</td> <td width="58%"> <xsl:value-of select="format-number(number (Common/TatemonoGaiyou/Ukeoikin/Money_Format/Sougaku),'#,###') " /> 円 </td> </tr> <td width="2%"> 工事金額 :</td> <td width="58%"> <xsl:value-of select="format-number(number (Common/TatemonoGaiyou/Ukeoikin/Money_Format/Kingaku),'#,###') " /> 円 </td> </tr> <td width="2%"> 消費税金額 :</td> <td width="58%"> <xsl:value-of select="format-number(number (Common/TatemonoGaiyou/Ukeoikin/Money_Format/Zei),'#,###')" /> 円

</td> </tr> <td width="2%"> 契約日 </td> <td colspan="2"><xsl:value-of select="docinfo/property/multiplelabel[@name='keiyakubi']" /></td> </tr> <td width="2%"> 発注方式 </td> <td colspan="2"><xsl:value-of select="docinfo/property/multiplelabel[@name='hattyuuhousiki']" /></td> </tr> </table> </Div> <br/><br/> <Div> <table border="0" width="00%" > <td align="center"> <A> <xsl:attribute name="href"> <xsl:value-of select="reference/div/document/ @xlink:href" /> </xsl:attribute> <xsl:value-of select="reference/div/document/@xlink:title" /> </A><br/><br/> </td> </tr> <td align="center"> <img> <xsl:attribute name="src"> <xsl:value-of select="reference/div/document/graphic/ @src" /> </xsl:attribute> </img><br/> <xsl:value-of select="reference/div/document/graphic/@caption" /> </td> </tr> </table> </Div> </xsl:template> <xsl:template match="text()"> <xsl:value-of select="."/> </xsl:template> </xsl:stylesheet>

9 5 6-5- 29F 00-000 3 5 9 2 9 04 30 2007 0 0 3,3,30,33,45,0 357,63,534 23,874,6,300,32