ind...2.提案 bcs.dtdのエレメントと属性...
TRANSCRIPT
bcs.dtd○○.xml ○○.xsl
2.提案 BCS.DTDのエレメントと属性
BCS.DTDのエレメントの属性を以下に示す。
№ エレメント 説明
出
現
回
数
属性 下位構造
1 Bcs
最初に出現する
エレメント
1回
code 適宜工事コード等を記述する任
意
Common
Docinfo
Reference
bcsreport
UkeoiKeiyakusyoHikaeSoufusyo
KoujiTyakusyuTodoke
SongaihokenKeiyakuHoukokusyo
GenbaJimusyoKaisetuTodoke
GenbaDairininSenninTodoke
KanriGijyutusyaSenninTodoke
SyanaiSosikiHyou
GenbaKakariinHenseiTodoke
SyuyouKyouryokuKaisyaSiyouTodoke
KoujiKouteiHyou
GenbaKyuugyouTodoke
SikenSeisekiHoukokusyo
KoujiHoukokusyo
KoujiRenrakusyoUtiawaseKiroku
TatiaiKensaNegai
SinseiTodokedesyoruiItirannhyou
Seikyuusyo
DekidakaTyousyo
KoujiKanseiKensaNegai
JisyuKensaHoukokusyo
KoujiKanseiTodoke
KoujiKanseiHikiwatasisyo
KanseiTosyoHikiwatasisyo
MiryouJikoutouOboegaki
必
須
Date
2 Common共通管理情
報
1
回ID ユニークの識別番号
任
意
TatemonoGaiyou
Hattyuusya
Kanrisya
Sekousya
3 Docinfo 書誌情報
1
回
ま
た
は
0
回
ID ユニークの識別番号任
意Property
4 Reference
実体または
参照される
文書
1
回
ま
た
は
0
回
ID ユニークの識別番号任
意
Title
Div
5 Date日付に関す
る情報
1
回ID ユニークの識別番号
任
意Date_Format
6 TatemonoGaiyou 建物概要1
回ID ユニークの識別番号
任
意
Meisyou
Address
KoukiTyakkoubi
KoukiKanseibi
Ukeoikin
7 Hattyuusya 発注者1
回ID ユニークの識別番号
任
意KouseiKigyou
8 Kanrisya 監理者1
回ID ユニークの識別番号
任
意KouseiKigyou
9 Sekousya 施工者1
回
type (Ukeoisya | Keiyakusya)選択必
須KouseiKigyou
ID ユニークの識別番号任
意
10 Meisyou
名称・物件
名に関する1
回
ID ID
#IMPLIEDユニークの識別番号
任
意Tatemono_Format
情報
11 Address
住所や所在
地に関する
情報
1
回
ま
た
は
0
回
ID ユニークの識別番号任
意Address_Format
12 KoukiTyakkoubi 工事着工日1
回ID ユニークの識別番号
任
意Date_Format
13 KoukiKanseibi 工事完成日1
回ID ユニークの識別番号
任
意Date_Format
14 Ukeoikin 請負金1
回ID ユニークの識別番号
任
意Money_Format
15 KouseiKigyou
発注者・監
理者・施工
者を構成す
る企業
1
回
以
上
JV (yes | no) 選択必
須
Com_Format
Daihyousya
Tantousya
Jvname JV名任
意
soshiki(KensetuJV | SetubiJV | Company)
選択
任
意
sponsor (yes | no)選択任
意
ID ユニークの識別番号任
意
16 Daihyousya 代表者
1
回
ま
た
は
0
回
ID ユニークの識別番号任
意Man_Format
17 Tantousya 担当者
0
回
以
上
ID ユニークの識別番号任
意Man_Format
18 Tatemono_Format
建物に関す
る情報単位
(名称の下
位に出現
可)
1
回ID ユニークの識別番号
任
意
Koujimei
Kasyou
Name
19 Koujimei 工事名1
回
link
xref
20 Kasyou 仮称
1
回
ま
た
は
0
回
link
xref
21 Name 名称1
回
link
xref
22 Address_Format
住所や所在
地に関する
情報の単位
(Addressの
下位に出現
可)
1
回ID ユニークの識別番号
任
意
Yuubin
Todoufuken
Sityouson
Banti
Tatemonomei
23 Yuubin 郵便番号1
回
link
xref
24 Todoufuken 都道府県1
回
link
xref
25 Sityouson 市町村1
回
link
xref
26 Banti 番地1
回
link
xref
27 Tatemonomei 建物名
1
回
ま
た
は
link
xref
0
回
28 Date_Format
日付に関す
る情報の単
位
1
回
Year
Month
Day
29 Year 年1
回
link
xref
30 Month 月1
回
link
xref
31 Day 日1
回
link
xref
32 Money_Format
金額に関す
る情報の単
位
(請負金の
下位に出現
可)
1
回
Sougaku
Kingaku
Zei
33 Sougaku 総額1
回
link
xref
34 Kingaku 金額1
回
link
xref
35 Zei 税1
回
link
xref
36 Com_Format
会社に関す
る情報の単
位
(構成企業
の下位に出
現可)
1
回
Syamei
Tenmei
Address
37 Syamei 社名1
回
38 Tenmei 店名1
回
人に関する
39 Man_Format
情報の単位
(代表者・
担当者の下
位に出現
可)
Simei
Syokunou
Syokui
Address
40 Simei 氏名1
回
link
xref
41 Syokunou 職能1
回
link
xref
42 Syokui 職位1
回
link
xref
43 Property
個々の書誌
情報を包括
するエレメ
ント
(Docinfoの
下位に出現
可)
0
回
以
上
ID ユニークの識別番号任
意
MultipleLabel
MultipleAtt
Property
44 MultipleLabel
汎用的に使
用できるエ
レメント
name エレメント名任
意
ID ユニークの識別番号任
意
45 MultipleAtt
汎用的に使
用できる属
性用エレメ
ント
0
回
以
上
name 属性名必
須
value 属性値必
須
46 Title
実体または
参照文書用
のタイトル
1
回
ま
た
は
0
回
link
xref
実体または
参照文書類
0
回 任
MultipleLabel
MultipleAtt
47 Divを包括する
エレメント
以
上
ID ユニークの識別番号意 Document
Div
48 Document実体または
参照文書類
0
回
以
上
xmlns:xlink xlinkの名前空間宣言固
定
Graphic
xlink:type xlinkのtype属性任
意
xlink:role xlinkのrole属性任
意
xlink:href xlinkのhref属性任
意
xlink:show (new | replace | embed )選択任
意
xlink:actuate (auto | uesr)選択任
意
xlink:title xlinkのtitle属性任
意
49 Graphic図面、写真
類
50 linkリンク用エ
レメント
0
回
以
上
xmlns:xlink xlinkの名前空間宣言固
定
xlink:type xlinkのtype属性任
意
xlink:role xlinkのrole属性任
意
xlink:href xlinkのhref属性任
意
xlink:show (new | replace | embed )選択任
意
xlink:actuate (auto | uesr)選択任
意
xmlns:xlink xlinkの名前空間宣言固
定
xlink:type xlinkのtype属性任
51 xref相互参照用
エレメント
0
回
以
上
意
xlink:role xlinkのrole属性任
意
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
- 6 -
1-2 工事請負契約書(控)送付書(必要に応じて使用する。)
工事請負契約書(控)送付書
平成 19 年 1 月 15 日
株式会社日本設計
東京都新宿区西新宿 6-5-1
新宿アイランドタワー29 階 渡邊・富士山・浮世絵建設共同企業体
取締役支店長 黒岩高志
記
工事名 日本株式会社麻布台ビル新築工事 JOBNo.□□□□□□
発注者 アサセ・キリシ・サッポヨ協同組合
請負者 渡邊・富士山・浮世絵建設共同企業体
代表者 取締役支店長 黒岩高志
構成員 渡邊建設株式会社
構成員 富士山建設株式会社
構成員 浮世絵建設株式会社
工事場所 〒100-1000 東京都港区麻布台1丁目3番地5
工 期 着手日: 19 年 1 月 12 日 ~完成日: 19 年 4 月 30 日
請負代金額 総 額 3,131,310,313,451,101 円
内工事金額 357,613,534 円
円
消費税金額 23,874,611,300,321 円
契約日 2007 年 10 月 10 日
発注方式 A.一括発注 B.分離発注 C.コストオン発注 D.その他( )
以下の欄は日本設計の担当者が記入する欄です。
発注形態 1.特命発注 2.入札発注 3.見積合せ発注
4.随意契約 5.その他( )
工事項目
工事内容
整理 No.□□□□□-〔 〕-□ 受入日□□□□/□□/□□
保管場所
注 JOBNo.は日本設計で記入。監理で保管する。
<?xml version="1.0" encoding="Shift_JIS" ?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns="http://www.w3.org/1999/xhtml1/strict"
xmlns:xlink="http://www.w3c.org/1999/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="100%">
<tr>
<td width="80%">
<Div align="right">日付</Div>
</td>
<td width="135">平成<xsl:value-of select="number(Common/Date/Date_Format/Year) - 1988" />年<xsl:value-
of select="Common/Date/Date_Format/Month" />月<xsl:value-of select="Common/Date/Date_Format/Day" />日</td>
</tr>
</table>
<table border="0" width="100%">
<tr>
<td width="64">監理者 </td>
<td></td>
</tr>
<tr>
<td width="64">社名</td>
<td width="*">
<xsl:value-of select="Common/Kanrisya/KouseiKigyou/Com_Format/Syamei" />
</td>
</tr>
<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>
<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="100%">
<tr>
<td width="60%"></td>
<td colspan="2">請負者</td>
</tr>
<tr>
<td width="60%"> </td>
<td width="11%">社名</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>
<tr>
<td width="60%"> </td>
<td width="11%">代表者名</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="1" align="center">
<tr>
<td width="21%">工事名</td>
<td colspan="2"><xsl:value-of select="Common/TatemonoGaiyou/Meisyou/Tatemono_Format/Koujimei" /></td>
</tr>
<tr>
<td width="21%">発注者</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>
<tr>
<xsl:if test="Common/Sekousya/KouseiKigyou[@JV = 'yes']">
<xsl:element name="td">
<xsl:attribute name="width">21%</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="21%" 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>
<tr>
<td width="21%">代表者</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']">
<tr>
<td width="21%">構成会社名</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>
<tr>
<td width="21%">工事場所</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>
<tr>
<td width="21%">工期</td>
<td colspan="2">着手日:
平成<xsl:value-of select="number(Common/TatemonoGaiyou/KoukiTyakkyoubi/Date_Format/Year) - 1988" />年
<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) - 1988" />年
<xsl:value-of select="Common/TatemonoGaiyou/KoukiKanseibi/Date_Format/Month" />月
<xsl:value-of select="Common/TatemonoGaiyou/KoukiKanseibi/Date_Format/Day" />日
</td>
</tr>
<tr>
<td width="21%" rowspan="3">請負代金額</td>
<td width="21%">総額:</td>
<td width="58%">
<xsl:value-of select="format-number(number
(Common/TatemonoGaiyou/Ukeoikin/Money_Format/Sougaku),'#,###') " />円
</td>
</tr>
<tr>
<td width="21%">工事金額:</td>
<td width="58%">
<xsl:value-of select="format-number(number
(Common/TatemonoGaiyou/Ukeoikin/Money_Format/Kingaku),'#,###') " />円
</td>
</tr>
<tr>
<td width="21%">消費税金額:</td>
<td width="58%">
<xsl:value-of select="format-number(number
(Common/TatemonoGaiyou/Ukeoikin/Money_Format/Zei),'#,###')" />円
</td>
</tr>
<tr>
<td width="21%">契約日</td>
<td colspan="2"><xsl:value-of select="Docinfo/Property/MultipleLabel[@name='Keiyakubi']" /></td>
</tr>
<tr>
<td width="21%">発注方式</td>
<td colspan="2"><xsl:value-of select="Docinfo/Property/MultipleLabel[@name='HattyuuHousiki']" /></td>
</tr>
</table>
</Div>
<br/><br/>
<Div>
<table border="0" width="100%" >
<tr>
<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>
<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>
19 1 15
6-5-129F
100-1000 1 3 519 1 12 19 04 30
3,131,310,313,451,101357,613,53423,874,611,300,321
2007 10 10