name2fo.xsl |
<?xml version="1.0" encoding="utf-8"?> <name>Frank</name> |
name.xml |
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:output method="xml" indent="yes"/> <xsl:template match="/"> <fo:root> <fo:layout-master-set> <fo:simple-page-master master-name="A4-portrait" page-height="29.7cm" page-width="21.0cm" margin="2cm"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4-portrait"> <fo:flow flow-name="xsl-region-body"> <fo:block> Hello, <xsl:value-of select="name"/>! </fo:block> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet> |
generate.cmd |
@REM Apache FOP (ver 1.0/1.1) c:\FOP\fop -xml name.xml -xsl name2fo.xsl -pdf name.pdf |
'정보기술' 카테고리의 다른 글
네이버 클라우드 플랫폼 커널 버전 (0) | 2018.05.31 |
---|---|
깃허브 이모지 이모티콘 github emoji emoticon (0) | 2018.05.15 |
Windows XP 에서 iCloud Control Panel 설치(INSTALL) (4) | 2011.10.25 |
[Q-Dir] 여러개의 Windows 탐색기를 하나로 사용 (0) | 2010.04.09 |
VMWare Fusion Windows 설치와 F8 키 (0) | 2009.08.06 |