PostgreSQL の XML 機能解説と将来拡張への提言
|
|
|
- きみとし おうじ
- 7 years ago
- Views:
Transcription
1 B 1
2 PostgreSQL "Let's Postgres" 2
3 PostgreSQL XML URL 3
4 4
5 Storage Query Language XML Schemas Programming Interface 5
6 XML A RDB B XML 6
7 RDB ID ID
8 RDB ID ID XML
9 XML ID 9
10 XML A) RDB B) XML 10
11 RDB ID ID XML
12 XML XMLPGSQL XML XML2 Xpath XSLT 12
13 XML XML Xpath RDB XML SQL/XML 13
14 XML xml CREATE TABLE meibo(id integer, detail ); id ID ( integer ) detail ( xml ) <name> </mame> < >ayoshida@ </ > <name> </mame> < >mabe@ </ > <name> </mame> < >ghibiki@ </ > 14
15 XML Xpath SELECT xpath( /employee[name/text()= ], ditail) FROM meibo; id ID ( integer ) detail ( xml ) <name> </mame> < >ayoshida@ </ > <name> </mame> < >mabe@ </ > <name> </mame> < >ghibiki@ </ > 15
16 RDB XML SQL/XML Id ID Employee select xmlelement (name , )from meibo; 16
17 4. XML SQL/XML SQL/XML XPath 1. XPath XML 3. xml2 XSLT XSLT GIN 2. GIN 17
18 PostgreSQL OS Windows XP <work-record> <period> <start> </start> <end> </end> </period> <content> </content> <role> </role> </career> <period> <start> </start> <end> </end> </period> <content> Web </content> <role> </role> </career> <period> <start> </start> <end/> </period> <content>it </content> <role> </role> </career> </work-record> 18
19 psql PostgreSQL Id name department age Work_history 1031 IT 45 <work-record>.com <period> d.com d.com d.com bcd.com <work-record> <period> <work-record> <period> <work-record> <period> <work-record> <period>.csv CSV 19
20 20 <work-record> <period> <start> </start> <end> </end> </period> <content> </content> <role> </role> </career> <period> <start> </start> <end> </end> </period> <content> Web </content> <role> </role> </career> <period> <start> </start> <end/> </period> <content>it </content> <role> </role> </career> </work-record> child descendant or self descendant parent ancestor ancestor or self following following sibling preceding preceding sibling self /work record/career[role/text()= ]
21 id,name,<role> Id name department age Work_history 1031 IT 45 <work-record> <period> <start> </start> <end> </end> </period> <content> </content> <role> </role> </career> <period> <start> </start> <end> </end> </period> <content> Web </content> <role> </role> </career> <period> <start> </start> <end/> </period> <content>it </content> <role> </role> </career> </work-record> XML = 21
22 B-Tree XML GIN XPath xpath( /work-record/career/role/text(),work_history) xpath {,, } {, } {, } { } { } 22
23 Id name department age Work_history XPath INDEX <work-record> <period> <start> </start> <end> </end> </period> <content> </content> <role> </role> </career> <period> <start> </start> <end> </end> </period> <content> Web </content> <role> </role> </career> <period> <start> </start> <end/> </period> <content>it </content> <role> </role> </career> </work-record> 1. Meibo
24 XML XSLT XML HTML 24
25 Id name departm ent age Work_history 1031 IT 45 com <work-record> <period> <start> </start> <end> </end> </period> <content> </content> <role> </role> </career> <period> <start> </start> <end> </end> </period> <content> Web </content> <role> </role> </career> <period> <start> </start> <end/> </period> <content>it </content> <role> </role> </career> </work-record> 25
26 <?xml version="1.0" encoding= Shift_JIS"?> <xsl:stylesheet version="1.0" xmlns:xsl=" <xsl:output method="html"/> <xsl:template match="/"> <html ><xsl:apply-templates/></html> </xsl:template> <xsl:template match="work-record"> XSLT <h1> </h1> <table frame="border" width="50%"> <tr><th> </th><th> </th><th> </th><th> </th></tr> <xsl:for-each select="career"> <tr> <td><xsl:value-of select="period/start"/></td> <td><xsl:value-of select="period/end"/></td> <td><xsl:value-of select="content"/></td> <td><xsl:value-of select="role"/></td> </tr> </xsl:for-each> </table> </xsl:template> </xsl:stylesheet> I d na me depart ment 1031 IT Work_history <work-record> <period> <start> </start> <end> </end> </period> <content> </content> <role> </role> </career> <period> <start> </start> xslt_process xslt_process() WHERE name = ' '
27 xmlelement() xmlforest() xmlattributes() xmlcomment() xmlconcat() xmlpi() xmlroot() xmlagg() xmlparse() xmlserialize() XML XML XML XML XML XML XML XML XML xmlconcat XML XML (PostgreSQL ) 27
28 declaration name root person mail-list name person XML SQL/XML id name work_history 1031 <work record> 28
29 XML SELECT select xmlroot(xmlelement(name mail_list, (select xmlagg( xmlelement(name person, xmlelement(name name, name), xmlelement(name , ) )) from meibo)),version '1.0',standalone yes); 29
30 XPath XSLT XQL/XML XML PostgreSQL XML 6 Postgresql XML 30
31 Storage Query Language XML Programming Interface 31
32 Schemas Web Service 32
33 XML Xerces 33
34 XML 34
35 XML XML Xpath RDB XML SQL/XML 35
36 XML 36
_02_3.ppt
XML DB Oracle Corporation Agenda RDB XML SQL/XML XML DB XML Oracle Corporation 2 Agenda RDB XML SQL/XML XML DB XML Oracle Corporation 3 RDB-XML RDB XML Oracle Corporation 4 XML RDB [Oracle] Extract ExtractValue
スライド 1
XML with SQLServer ~let's take fun when you can do it~ Presented by 夏椰 ( 今川美保 ) Agenda( その 1) XML XML XSLT XPath XML Schema XQuery Agenda( その 2) SQLServer における XML XML 型 XML Schema XQuery & XPath チェック制約
XMLとXSLT
XML と XSLT 棚橋沙弥香 目次 現場のシステム構成とXML/XSLの位置づけ XMLとは XSL/XSLTとは Xalanのインストール いろいろなXSL XMLマスター試験の紹介 現場のシステム構成 HTML 画面上のデータ 電文 電文 外部 WEB サーバー (Java) CORBA 通信 認証サーバー (C 言語 ) DB XML 電文 HTML XSL XSLT 変換今回の説明範囲
csj-report.pdf
527 9 CSJ CSJ CSJ 1 8 XML CSJ XML Browser (MonoForC) CSJ 1.7 CSJ CSJ CSJ 9.1 GREP GREP Unix Windows Windows (http://www.vector.co.jp/) Trn Windows Trn > > grep *.trn 528 9 CSJ A01F0132.trn:& A01M0097.trn:&
IBM Software Group DB2 Information Management Software DB2 V8 XML SQL/XML 2 XML XML UDF XMLExtender XML XML XMLCollection, XMLColumn XML UDF Informati
IBM Software Group XML Features in DB2 UDB V8 IBM Software Group DB2 Information Management Software DB2 V8 XML SQL/XML 2 XML XML UDF XMLExtender XML XML XMLCollection, XMLColumn XML UDF Information Integrator
WebOS aplat WebOS WebOS 3 XML Yahoo!Pipes Popfry UNIX grep awk XML GUI WebOS GUI GUI 4 CUI
7 XML Week Web WebOS WebShell WebOS WebOS GUI WebOS WebOS 2 WebOS aplat WebOS WebOS 3 XML Yahoo!Pipes Popfry UNIX grep awk XML GUI WebOS GUI GUI 4 CUI CUI JavaScript I/O CommandClass WebShell webshell
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 +
Web2.0 REST API + XSLT Amazon hon.jp API XML Consortium 2006-04-11 XML ( ) REST(GET)API hon.jp Amazon.co.jp Google Map Exif to RDF(kanzaki.com) REST +XSLT hon.jp hon.jp + Aamazon.co.jp Exif to RDF(kanzaki.com)
PowerPoint プレゼンテーション
iconnector, imaker, Zelkova --- --- iconnector imaker Zelkova XML XML ipex,, ixslt 100% W3C XSLTXSLT XML XML iconnector XML imessenger XML imaker ExcelXML XML imaker for Excel XML iconnector RDB XML imessenger
データ連携ソリューションスイート 「ASTERIA WARP」 ご紹介資料
RIA ASTERIA WARP / ) ) CSV) ) / / ) Web A B ASTERIA DB DB C (Excel ) Mail Excel / 6 A RDB ORACLE B XML DB Cyber Luxeon BI CSV Excel ASTERIA WARP Work-Flow EIP Front-End B2B EDI CRM BI Web OLAP Mail BPM
Webプログラミング演習
Web プログラミング演習 STEP11 XSLT を使った画面生成 XML:Extensible Markup Language コンピュータが扱うデータや文書を表現する技術 SGML(Standard Generalized Markup Language) の改良 利用者が自由に拡張可能なマークアップ言語を設計 HTML=SGML を利用して作成された Web ページ記述言語 XHTML=XML
.xml.xsl bcs.dtd 2. 提案 BCS.DTD のエレメントと属性 BCS.DTD のエレメントの属性を以下に示す 出 エレメント説明 現 属性 下位構造 数 code 適宜工事コード等を記述する 任 意 Common Docinfo Reference UkeoiKeiyakusyoHikaeSoufusyo KoujiTyakusyuTodoke SongaihokenKeiyakuHoukokusyo
Oracle Database 10g リリース2のXML DB生成のマスター
2005 9 ... 3 XML SQL UTILITY XSU XML... 3 XSU Java API XML... 4 XSU PL/SQL API XML... 5 DBMS_XMLGEN XML... 6 SYS_XMLGEN SYS_XMLAGG XML... 7 SYS_XMLGEN()... 7 SYS_XMLAGG()... 8 SQL/XML XML... 9 XMLElement()...
XML Consortium & XML Consortium 1 XML Consortium XML Consortium 2
& 1 2 TCO DB2 DB2 UDB DB DB V8.2 V8.2 DB2 DB2 UDB V8.1 V8.1 DB2 9 3 CLOB XML XML DB2 9 purexml XML XML DOC XML DOC XML DOC XML DOC VARCHAR/CLOB XML ( ) 4 XML & XML ( & ) DB2 XML SQL/XML DB2 DB2 : DB2 /
XSLT XSLT xsd XSLT XML xsd XPath <xsl:template ]
XML Week splat XML XML Web 2005,2006 WS-Security End-to-End XSLT (xsd) XSLT MUST MAY Java class MUST,MAY XSLT XSLT xsd XSLT XML xsd XPath
(1)
~ ~ NO YES ~ ( NO YES ) YES NO NO YES ~ ( NO YES ) YES NO 1 1 NO 2 NO 2YES YES 1 (1) 25 26 2 3 () () () () 4 () () 5 6 () 7 () 8 9 1-3-1 10 3 11 12 ~1. (1) () () (2) (3) () (4) () () (5) (6) (7) (1) (2)
untitled
Visual Basic.NET 1 ... P.3 Visual Studio.NET... P.4 2-1 Visual Studio.NET... P.4 2-2... P.5 2-3... P.6 2-4 VS.NET(VB.NET)... P.9 2-5.NET... P.9 2-6 MSDN... P.11 Visual Basic.NET... P.12 3-1 Visual Basic.NET...
XISによる効率良いシステム開発のポイント
XML excelon XIS excelon XIS XML April 17, 2002 excelon Extensible Information Server Page 2 Overview XML DOM (XML ) ( ) excelon XIS (DOM ) CRUD ( XML ) amazon.com 2,000 / 100 / GUI / ( 10 ) Windows (NT/2000/XP),
,, create table drop table alter table
PostgreSQL 1 1 2 1 3,, 2 3.1 - create table........................... 2 3.2 - drop table............................ 3 3.3 - alter table............................ 4 4 - copy 5 4.1..................................
1,.,,,., RDBM, SQL. OSS,, SQL,,.
1,.,,,., RDBM, SQL. OSS,, SQL,,. 3 10 10 OSS RDBMS SQL 11 10.1 OSS RDBMS............................ 11 10.1.1 PostgreSQL................................. 11 10.1.2 MySQL...................................
xslt #xslt
xslt #xslt 1 1: xslt 2 2 2 Examples 2 2 XSLT 3 2: xslt 7 Examples 7 XSLT 7 8 You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: xslt It is an unofficial
3. XML, DB, DB (AP). DB, DB, AP. RDB., XMLDB, XML,.,,.,, (XML / ), XML,,., AP. AP AP AP 検索キー //A=1 //A=2 //A=3 返却 XML 全体 XML 全体 XML 全体 XMLDB <root> <A
PostgreSQL XML 1 1 1 1 XML,,, /. XML.,,, PostgreSQL.. Implementation of Yet Another XML-type for PostgreSQL Toshifumi Enomoto, 1 Gengo Suzuki, 1 Nobuyuki Kobayashi 1 and Masashi Yamamuro 1 There are various
2 2 2 6 9 9 10 14 18 19 21 22 22 Java 23 24 25 25 26 30 31 32 39 46 53 55 58 2 2.0 2.0R Ver.2.0R Java Java 2.0 2.0R 2.0R 2.0 Ver2.0 2.0R Ver2.0R 19 Sun Sun Microsystems Java Java Sun Microsystems, Inc.
Innovation Linked Open Data Resource Description Framework Uniform Resource Identifier Open Government 25 5 23 2011 25 2013 6 26 2014 3 ...1 ICT 2...4...4.....5..6..9..9 13 15 15 22 24 26 26 27 29 32 43
20050314_02-4.ppt
Oracle Database 10g Oracle XML DB 2005 3 14 1 Agenda Oracle XML DB XML SQL Oracle Database 10g Release 2 Copyright Oracle Corporation, 2005 All right reserved. 2 XML Oracle Database 10g Release 2 Oracle
1
0 1 2 OK NG 3 ID 4 CMS 5 CMS 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [PDF 7KB] [ ] 22 23 (HP ( pt) ) () ( 24 25 ( ) 26 27 28 29 #() URL # # 30 [PDF 7KB] [ ] 31 32 33 34 35 HTML HTML 36 37 38 39 40
オンラインによる 「電子申告・納税等開始(変更等)届出書」 提出方法
18 2 1 OS 2 OS WWW OS Windows 2000 Professional Windows XP (Home Edition) Windows XP (Professional Edition) WWW Microsoft Internet Explorer 6.0 Windows 98 Windows Me WindowsNT OS e-tax 3 Internet Explorer
日本オラクル株式会社
FISC 6 Oracle Database 10g ~ ~ : 2005 7 26 : 2005 7 31 : 1.0 2004 4 (* ) FISC ) (* ) FISC 6 (* FISC 6 ) FISC 6 Oracle g Database 10 (FISC) http://www.fisc.or.jp FISC http://www.fisc.or.jp/info/info/050307-1.htm
_02-5.ppt
CONNECT EVERYTHING. ACHIEVE ANYTHING. Sonic XML Server 2005 3 14 Agenda 2 2005 Sonic Software Corporation Sonic Software Corporation 1998 1999 12 SonicMQ 2002 3 Sonic ESB ESB
UsersGuide_INR-HG5497c_.doc
UPS / Web/SNMP VCCI A Web/SNMP... 1.. WEB...1.. SNMP...1.. NETSHUT...1.. 100BASE-TX...1... 2 Web... 4.....5.....7......7......8......9.. UPS...10... UPS...10...13......14......14...15......17......17..
CAC
VOL.24NO.1 61 IMS Transaction 3270 DataBase Transaction OS/370 IMS Traditional Transaction Web Browser Transaction Internet WWW AP IIS APache WebLogic Websphere DataBase Oracle DB2 SQL Server Web Browser
n n n ( ) n Oracle 16 PostgreSQL 3 MySQL
SaaS CAM MACS PostgreSQL ~ ~ 7 PostgreSQL in 2014/02/07 n n n ( ) n Oracle 16 PostgreSQL 3 MySQL n SaaS CAM MACS n AWS n 1993 6 1 1999 4 1 C/S CAM MACS 2007 4 1 SaaS CAM MACS 2007 11 1 SaaS CAM MACS CAM
untitled
IT IT IT IT 1 IT 2 Software as a Service (SaaS 3 ) IT SaaS 4 SaaS SaaS PC SaaS SaaS Web SaaS ID IT SaaS IT 1 2 3 Software as a Service ASP(Application Service Provider) SaaS 4 ASPIC SaaS SaaS SaaS SaaS
ACS電子ジャーナル利用マニュアル
American Chemical Society ACS Web Edition & Journal Archives American Chemical Society ACS 4 Web Edition 2002 7 1879 Journal Archives ACS 1...2 2 2-1...3 2-2...4 2-3...5 3 3-1 Abstract...6 3-2 Full Text
文書情報標準化ガイドライン.PDF
2002 3 CALS/EC CALS/EC 1 2 2-1 2 2-2 3 2-3 4 2-4 5 2-5 8 12 3-1 12 3-2 16 3-3 Web 19 22 4-1 22 4-2 25 4-3 31 35 36 CALS/EC CALS/EC ( ) () CALS/EC () (1) - 1 - CALS/EC CALS/EC CALS/EC ( ) () () A () - 2
dicutil1_5_2.book
Kabayaki for Windows Version 1.5.2 ...1...1 1...3...3 2...5...5...5...7...7 3...9...9...9...10...10...11...12 1 2 Kabayaki ( ) Kabayaki Kabayaki ( ) Kabayaki Kabayaki Kabayaki 1 2 1 Kabayaki ( ) ( ) CSV
SGML HTML XML Markup Language Web HTML HTML SGML Standard Generalized Markup Language Markup Language DTD Document Type Definition XML SGML Markup Language HTML XML HTML XML JavaScript JAVA CGI HTML Web
2
() () 980-8578 Tel: 022-795-6092 Fax: 022-795-6096 email: 1. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 17 46 47 4.1.1
情報の構造とデータ処理
[email protected] 2014 SQL information system input process output (information) (symbols) (information structure) (data) 201411 ton/kg m/feet km 2 /m 2 (data structure) (integer) (real) (boolean)
LPM-CBUSB2
LPM-CBUSB V04A CardBus USB.0 INTERFACE Card USB.0 LPM-CBUSB ... 1... 4... 5... 5... 6... 6... 7... 8... 9 Windows XP... 9 Service Pack... 9... 10... 1...16...... 3 Windows Me...4... 4...7 Windows 98...8...
Microsoft Word - Live Meeting Help.docx
131011 101919 161719 19191110191914 11191417 101919 1915101919 Microsoft Office Live Meeting 2007 191714191412 1913191919 12 151019121914 19151819171912 17191012151911 17181219 1610121914 19121117 12191517
Wiki Wiki Wiki...
21 RDB Wiki 0830016 : : 2010 1 29 1 1 5 1.1........................................... 5 1.2 Wiki...................................... 7 1.2.1 Wiki.................... 7 1.2.2 Wiki.................. 8
1997 1... 1... 2... 2... 2... 3... 6... 9... 9... 24... 39... 54... 69 4 1995 1996 A B C D 1 1 2 1 2 3 3 1 1 (1) (2) (3) 32 2 (1) (2) (3) 3 3 4 1 11 12 13 21 22 / / 23 5 4 4 1 9 1997 2 1 1 1 2 1 1 3 2
Microsoft Word - 教材ガイド一覧ビデオ.doc
V V V V V V V V V V V V 1 V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V IT Web CG V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V NO V V V V V
IT / KPI IT WF(XOML),BPEL WSDL XSD IT XSD WSDL BPEL XOML XML
SOA XML Week SOA IT IT IT / KPI IT WF(XOML),BPEL WSDL XSD IT XSD WSDL BPEL XOML XML Web Web WCF Web WCF WindowsCommunityFoundation NET Framework 3.0 Web WCF ABC WCF Address WHERE Binding HOW Contract WHAT
konicaminolta.co.jp PageScope Net Care
konicaminolta.co.jp PageScope Net Care KONICA MINOLTA PageScope Net Care KONICA MINOLTA PageScope Net Care Web KONICA MINOLTA PageScope Net Care SNMP KONICA MINOLTA Printer-MIB KONICA MINOLTA PageScope
Adobe Media Encoder ユーザーガイド
ADOBE MEDIA ENCODER CS5 & CS5.5 http://help.adobe.com/ja_jp/legalnotices/index.html iii 1............................................................................. 1.............................................................................................................
untitled
NEC Express5800 Microsoft Windows XP Professional x64 Edition for Express5800/56Xc ) MicrosoftWindows Microsoft Corporation Windows XP Professional x64 Edition for Express5800/56Xc NEC Microsoft Windows
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 http://www.moj.go.jp/press/090130-1.html 55 56 57
6 2 1
6 1 6 (1) (2) HTML (3) 1 Web HTML 1 Web 1 Web Web 6 2 1 6 3 1.1 HTML(XHTML) Web HTML(Hyper Text Markup Language) ( ) html htm HTML XHTML(XHTML 1.0 Transitional)
XSLの活用と技術内容の紹介
XSL XML WG XSLXSLT SWG XSL 1 Agenda XSL XSL-FO XSLT XSL-FO XSL 2 XSL XSL XSL 3 XSL XSL W3C 1.0 2001-10-15 XSL XML (XSLT) XML (XSL-FO Formatting-Object ) XML XSL 4 XSL 5 XML 1.0 1998-02-10 XSLT 1999-11-16
SAS Web XML * ** * ** Web Data Analysis with SAS Input and Output of XML Data and Application to Real Estate Valuation Map Junnosuke Matsushima*, Hiro
SAS Web XML * ** * ** Web Data Analysis with SAS Input and Output of XML Data and Application to Real Estate Valuation Map Junnosuke Matsushima*, Hiroshi Ishijima**, Ikue Watanabe *Clinical Research Planning
PowerGres on Linuxマニュアル
PowerGres R on Linux Linux Linus Torvalds TM R 1 2 2 PowerGres on Linux 2 2.1 PowerGres on Linux.................................... 2 2.2.............................................. 2 2.3..............................................
