2001 2
Table of Contents... 3 XML... 3... 3... 4 XSL... 4 CSS XML... 5 CSS... 5 HTML+CSS... 6 CSS XML... 7 CSS... 8 XSLT XML HTML(+CSS)... 9 IE5 XML... 9 IE5... 9 XSLT... 10 XSLT... 11 XML HTML... 11 XML XSL-FO... 14 XSL-FO... 14 XSL-FO... 14 XSL-FO XSLT... 15... 17... 18... 18... 18
XML XML XML XML XML ( ) <doc> </doc> <head> <title> </title> <author> </author> <date> 2001 2 </date> </head> <body> <section> <title> </title>...( )... </section>...( )... </body> doc head title author date XML XML XML XML XML XML XML XML XML XML XML XML XML DTP Microsoft Word - 3 -
XML DTP XML 1998 XML XML World Wide Web Consortium W3C CSS XSLT XSL Cascading Style Sheets 1998 5 2 XSL Transformations 1999 11 1.0 XML Path Language Extensible Stylesheet Language ( XSL-FO 2000 11 XSL XML XSL XSL (1) 1997 8 Microsoft InSo ArborText W3C Extensible Stylesheet Language XSLT XSL-FO XSLT XSL-FO 1999 4 Extensible Stylesheet Language XSL Transformations XSLT Extensible Stylesheet Language XSL-FO 2 XSLT 7 XSLT XML Path Language (XPath XSLT XPath 1999 11 W3C Microsoft XSLT/XPath (1) XSLT XSL-FO XML XML (1) A Proposal for XSL (1) Microsoft XSL-FO XSL-FO ArborText - 4 -
CSS XML CSS CSS HTML XML Web Web CSS 1 1996 12 W3C 1996 XML HTML Cascading Style Sheets, level2 CSS2 Specification (CSS2 ) 1998 5 W3C 3 CSS CSS /* for top document title */ h1.doctitle {font-size: 20pt; font-weight: 500; background-color: rgb(51,153,153); color:rgb(255,255,255); text-align:center; margin-left:20%; margin-right:20%;} /* any documents title */ h1.subtitle {font-size: 20pt; font-weight: 900; color: #000000; text-decoration: underline; } h2 {font-size: 14pt; color: #000000; font-weight: bold; line-height: 15pt; border-style:double; border-width: 3px; padding:3px; background-color:rgb(222,252,182); margin:30px 0px 20px 0px;} h3 {font-size: 12pt; font-weight: 600; color: #000000; line-height: 11pt; margin:20px 0px 15px 0px;} body {background-color:rgb(249, 254,226); font-size: 10pt; } strong {color: #a8fbff; font-size: 8pt; } h1.doctitle h1.subtitle h2 h3 body strong XML - 5 -
CSS2 HTML+CSS CSS HTML CSS HTML CSS Internet Explorer Netscape Navigator HTML+CSS W3C CSS CSS Netscape Netscape6 CSS HTML+CSS CSS HTML CSS CSS HTML HTML (1) HTML4.0/XHTML CSS <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <title> Antenna House XSL Formatter </title> <meta http-equiv="content-type" content="text/html; charset=shift_jis" /> <link rel="stylesheet" href="axf.css" type="text/css"/> </head> <body >...... </body> </html> link "stylesheet" "ref" axf.css CSS HTML "text/css"(html4.0 XHTML ) (1) HTML HTML3.2 STYLE type type HTML4.0/XHTML HTML3.2 LINK type type HTML4.0/XHTML HTML4.0 XHTML HTML4.0 Strict.dtd/XHTML Strict.dtd DTD CSS HTML HTML +CSS Strict.dtd HTML - 6 -
CSS HTML STYLE CSS HTML4.0/XHTML <html> <head> <style type="text/css"> body {color: red} h1 {color: blue} </style> </head>...... </html> CSS CSS XML CSS HTML XML HTML XML XML author {display: block; font-size: 18pt} XML title {font-size: 24pt; background-color: yellow; display: block;} date {display: block} section title {display: block; font-size: 16pt; color: blue} p {display: block; font-size: 11pt} IE5.5 CSS XML CSS XML - 7 -
CSS CSS XML XML XML XML title index note CSS XSLT - 8 -
XSLT XML HTML(+CSS) Internet Explorer5.0 IE5 XML Web IE5 XML IE5 XML XML IE5 XML HTML XSLT XSLT XSLT XML XML (1) XSLT XSLT XSLT XSLT IE5 Windows Internet Explorer5.0 5.5 IE5 XML <?xml version="1.0" encoding="utf-16"?> <!-- Internet Explorer 5.0 --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/tr/wd-xsl" xmlns:html="http://www.w3.org/profiles/xhtml-transitional" > <xsl:template> <xsl:apply-templates /> (1) XML RTF - 9 -
<xsl:template match="text()"> <xsl:value-of />...... </xsl:stylesheet> XML XML XML IE5 XML <?xml version="1.0" encoding="utf-16"?> <!-- XML --> <?xml-stylesheet type="text/xsl" href="sample.xsl"?>...xml (... IE5 XML sample. xsl XML HTML XML IE5 MSXML2.DLL (1) IE5 MSXML2.DLL XSLT W3C XSL XSL W3C XSLT mlns:xsl="http://www.w3.org/tr/wd-xsl MSXML2.DLL IE5 XSLT 1999 11 W3C XSLT XML BP 14 XSL XSLT Microsoft MSXML2.DLL XSLT XSLT XSL 1 100 XSLT XSLT XSLT XSLT XML XSLT XSLT XSL Samples Viewer XSL Samples Viewer Microsoft XML XSLT XPath XSLT W3C (1) MSXML.DLL InternetExploper4.0 1.0 InternetExplorer5.0 2.0 InternetExplorer5.5 2.5 MSXML3.DLL Microsoft MSXML3.DLL ( - 10 -
XSLT XSLT XSLT XSLT XSLT Microsoft MSXML3.DLL MSXML 3.0 2000 11 1 Microsoft Web Internet Explorer5.5 MS Internet Explorer6 MSXML3.DLL ( ) Internet Explorer DLL XSLT Microsoft MSXML3.DLL MSXML.EXE Microsoft XML XSLT MSXML3.DLL DLL MSXML3.DLL PC MSXSL.EXE DOS XSLT XML HTML IE5 HTML XSLT XML HTML XML PureSmartDoc.dtd HTML XSLT PureSmartDoc.dtd HTML (1) PureSmartDoc HTML <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/xsl/transform"> <xsl:template match="/"> <html> <head> <title> SmartDoc XSLT HTML </title> </head> <xsl:apply-templates select="doc" /> </html> <xsl:template match="doc"> <body> <h1 align="center"> <xsl:value-of select="head/title" /> </h1> <p align="right"> <xsl:value-of select="head/author" /> <br /> <xsl:value-of select="head/date" /> </p> (1) XSLT XSLT - 11 -
<xsl:apply-templates select="body"/> </body> <xsl:template match="body"> <xsl:apply-templates /> <xsl:template match="section"> <h2> <xsl:value-of select="title" /> </h2> <xsl:apply-templates /> <xsl:template match="section/title"> <xsl:template match="subsection"> <h3> <xsl:value-of select="title" /> </h3> <xsl:apply-templates /> <xsl:template match="subsection/title">...... </xsl:stylesheet> XSLT wellformed( ) XML wellformed s2html.xsl (1) MSXSL.EXE abstyle.xml HTML abstyle.html HTML IE5.5 XSLT XML HTML W3C XSLT XSLT CSS (1) xmlns:xsl="http://www.w3.org/1999/xsl/transform" W3C XSLT - 12 -
HTML HTML - 13 -
XML XSL-FO XSL-FO XSL-FO XML XML XSL-FO XML XSL-FO XML XSL-FO XML HTML XSLT XSL-FO XSL-FO (1) (1) XSL-FO XSL-FO XML - 14 -
XSL-FO XSLT XSL-FO XSLT XSL-FO <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/xsl/format" xmlns:xsl="http://www.w3.org/1999/xsl/transform"> <xsl:output method="xml" version="1.0" indent="no" /> <xsl:param name="toc-make" select="true()"/> <!-- Paper Size --> <xsl:param name="paper-width" > 210mm </xsl:param> <xsl:param name="paper-height"> 297mm </xsl:param>... <!-- Content Transform--> <xsl:template match="doc"> <fo:root xmlns:fo="http://www.w3.org/1999/xsl/format"> <fo:layout-master-set> <fo:simple-page-master margin-top="5mm" margin-bottom="5mm" margin-right="5mm" margin-left="10mm" master-name="pagemaster">... </fo:simple-page-master>... </fo:layout-master-set>... </fo:root> </xsl:stylesheet> XSLT HTML XSLT XML XSL-FO XSLT MSXSL.EXE DOS XSL-FO XSL-FO XSL-FO fo:root wellformed XML XSL-FO <?xml version="1.0" encoding="utf-16"?> <fo:root xmlns:fo="http://www.w3.org/1999/xsl/format"> <fo:layout-master-set> <fo:simple-page-master margin-top="5mm" margin-bottom="5mm" margin-right="5mm" margin-left="10mm" - 15 -
master-name="pagemaster" page-height="297mm" page-width="210mm"> <fo:region-body margin-top="8mm" margin-right="8mm" margin-bottom="8mm" margin-left="8mm"/> <fo:region-before border-after-style="solid" border-width="thin" extent="5mm" display-align="after"/> <fo:region-after border-before-style="solid" border-width="thin" extent="5mm" display-align="before"/> <fo:region-start reference-orientation="270" extent="5mm"/> <fo:region-end reference-orientation="90" extent="5mm"/> </fo:simple-page-master>...... </fo:layout-master-set>... </fo:root> XSL-FO Antenna House XSL Formatter - 16 -
XSL-FO XSLT XSLT XSL-FO XSL-FO HTML XSLT XSLT PureSmartDoc XML XSL-FO XSLT DTD XML - 17 -
MSXML3.DLL MSXML3.DLL http://www.microsoft.com/japan/developer/workshop/xml/general/replacemode.asp XML BP XML XSL XSLT XSL-FO XSL-FO XML 2001 2 9 Page2001 http://www.antenna.co.jp/xml/xmllist/page2001.htm XSLT Samples Viewer XSLT XPath http://msdn.microsoft.com/downloads/toc.asp MSXML Perser 3.0 Release Microsoft MSXML3.DLL( ) http://msdn.microsoft.com/downloads/toc.asp MSXSL.EXE Command Line Transformation Utility Instant Saxon Microsoft MSXML3.DLL XSLT http://msdn.microsoft.com/downloads/toc.asp Michael H. Kay XSLT http://www.users.iclway.co.uk/mhkay/saxon/saxon6.2/instant.html Antenna House XSL Formatter SmartDoc XSL-FO 30 http://www.antenna.co.jp/xml/axfoo/axf00-top.htm SmartDoc PureSmartDoc SmartDoc XML http://www.asahi-net.or.jp/~dp8t-asm/java/tools/ - 18 -