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 XPath 1999-11-16 XPointer WD3 1999-12-06 XSL WD4 2000-01-12 XSL WD5 2000-03-01 XSL WD6(LastCall) 2000-03-27 XLink 2000-07-03 XPointer 2000-06-07 XSL WD7 2000-10-18 XSL 2000-11-21 XSLT 1.1 WD 2000-12-12 XPath2.0,WD2 2001-02-15 XPath2.0,WD2 2001-02-15 XLink 2000-12-20 XPointer WD4 2001-01-08 XLink 2001-06-27 XSLT 1.1 WD2 2001-08-24 XSL 2001-08-28 XPointer 2001-09-11 XSL 2001-10-15 XSLT 2.0 WD2 2002-04-30 XLink WD3 1999-12-20 XLink WD4 2000-01-19 XLink WD(LastCall) 2000-02-21
XSL XSLT XSL-FO FOSI DSSSL CSS2 Formatting output specification instance XSL 6
FO (XML) I/F (XML) XSLT (XML) FO PDF Post Script SVG Text, Apache XML Project: FOP 0.20.3 ( ) : XSL Formatter V2.1 : RenderX:XEP, ) XSLT FO (XML) HTML (http://www.w3.org/style/xsl/ XSL 7
XSL XSL 8
<fo:block backgroundcolor="lightgreen" space-before.optimum="5pt" space-after.optimum="5pt" font-weight="bold" font-size="12pt" > Introduction Introduction <fo:block text-indent="1em"> a aa aaa aaaa aaaaa aaaaaa aaaaaaa a aa aaa aaaa aaaaa aaaaaa aaaaaaa a aa aaa aaaa aaaaa aaaaaa aaa aaaaaaaaaa a aa aaa aaaa aaaaa aaa XSL 9
<fo:list-block provisional-distance-between-starts="20pt" provisional-label-separation="2pt" > <fo:list-item> <fo:list-item-label end-indent="labelend()"> <fo:block color="blue">* </fo:list-item-label> <fo:list-item-body start-indent="bodystart()"> <fo:block>item1 AAAAAAAA. </fo:list-item-body> </fo:list-item> fo:list-item </fo:list-block> * Item1 AAAAAAAA * Item2 BBBBBBBB * Item3 CCCCCCCC XSL 10
<fo:block space-before="10mm" space-after="1mm"> <fo:inline <fo:block color="red">image</fo:inline> text-align="center"> <fo:external-graphic src="xml_blue_small3.jpg"/> XSL 11
<fo:static-content flow-name="xsl-region-after"> <fo:block text-align="start" font-size="10pt" font-family="serif" line-height="1em + 2pt" > - Page <fo:page-number/> - </fo:static-content> - Page nn - FO XSL 12
XSL 13
XSL 14
(CSS) p{ font-size:10pt; font-weight:normal; font-style:italic;} p 10pt XSL 15
(DSSSL) (element p (make paragraph font-size=10pt font-weight= bold font-posture= italic ) ) p 10pt http://www.nextsolution.co.jp/kenkyusitu/index.html XSL 16
(FOSI) <charsubset charsubsetid= titlestyle > id <font size= 10pt posture= upright weight= bold > </charsubset> id <e-i-c gi= title > <charlist charsubsetref= titlestyle ></charlist> </e-i-c> XSL 17
XSL XSL-FO XSL 18
(XML) XSLT (XML) XSLT FO (XML) FO PDF FOP 0.20.3 XSL Formatter V2.1 XSL 19
<xsl:template match="chapter"> <fo:block break-before="page" spacebefore.optimum="5pt" > <xsl:apply-templates/> </xsl:template> <xsl:template match="section"> <fo:block space-before.optimum="5pt" space-after.optimum="10pt" > <xsl:template match="title"> <fo:block id="{generate-id()}"> <xsl:number level="multiple" count="chapter section subsection" format="1.1 "/> <xsl:apply-templates/> </xsl:template> XSLT ID (XSLT ) FO <fo:block break-before="page" space-before.optimum="5pt" > <fo:block id= ABCWXY"> 1 <fo:block space-before.optimum="5pt" space-after.optimum="10pt" > <fo:block id= ABCXYZ"> 1.1 <fo:block> XSLT XSL 20
<xsl:template match="title" mode="header"> <xsl:apply-templates select="/book/body//title" mode="header"/> <fo:block> <xsl:number level="multiple" count="chapter section subsection" format="1.1 "/> <xsl:value-of select="text()"/> <xsl:text> </xsl:text> <fo:leader /> <xsl:text> </xsl:text> <fo:page-number-citation refid="{generate-id()}"/> </xsl:template> XSLT 1 chapter-abcdefg 3 1.1 section-abcdefg-001 3 FO XSL 21
XML XSLT <div> data-004-000000 <index title="w=data-04-in-aa"/> data-004-999999 </div> <xsl:template match="index" ><fo:inline visibility="false" id="{generate-id()}" /></xsl:template> <xsl:template match="index" mode="index"> <fo:block> <fo:basic-link internal-destination="{generate-id()}"> <xsl:value-of select="@title" /><fo:leader leader-length="3em" leader-pattern="dots" /><fo:page-number-citation ref-id="{generate-id()}"/> </fo:basic-link> </xsl:template> <fo:block> data-004-000000 <fo:inline visibility="false" id="idaq0hw"/> data-004-999999 w=data-04-in-aa..... 2 FO <fo:block> <fo:basic-link internal-destination="idaq0hw"> w=data-04-in-aa <fo:leader leader-length="3em" leader-pattern="dots"/> <fo:page-number-citation ref-id="idaq0hw"/> </fo:basic-link> XSL 22
FOP XML+XSLT PDF MSXSL FO FO PDF XSL 23
XSL 24
XSL-FO XSLT HTML XSL XSLT XSL-FO XSL XSLT XSL 25
W3C http://www.w3.org/tr/ http://www.w3.org/style/xsl/ XSL http://www.w3.org/tr/xsl/ XSL 26