Hi, I don't see a question nor a problem description in your e-mail. So don't be surprised if you don't get an answer :-)
Thanks, Chris On 27/06/2017 21:37, sachinparadkar wrote: > I am trying to render the SVG in my PDF which draws a number of lines and the > stylesheet is to parse a XML document to grab data and display it between > the SVG lines - > > <?xml version="1.0" encoding="UTF-8"?> > <xsl:stylesheet version="1.1" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:fo="http://www.w3.org/1999/XSL/Format" > xmlns:svg="http://www.w3.org/2000/svg"> > <xsl:template match="Policy_Summary_Reports"> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" > xmlns:html="http://www.w3.org/1999/xhtml" > xmlns:svg="http://www.w3.org/2000/svg" writing-mode="lr-tb" > hyphenate="false" text-align="start" role="html:html" xml:lang="en"> > <fo:layout-master-set> > <fo:simple-page-master page-width="auto" page-height="auto" > master-name="all-pages"> > <fo:region-body column-gap="12pt" column-count="1" margin-left="1in" > margin-bottom="1in" margin-right="1in" margin-top="1in"/> > <fo:region-before display-align="before" extent="1in" > region-name="page-header"/> > <fo:region-after display-align="after" extent="1in" > region-name="page-footer"/> > <fo:region-start extent="1in"/><fo:region-end extent="1in"/> > </fo:simple-page-master> > </fo:layout-master-set> > > <fo:page-sequence master-reference="all-pages"> > <fo:title/> > <fo:static-content flow-name="page-header"> > <fo:block font-size="small" text-align="center" space-before="0.5in" > space-before.conditionality="retain"/> > </fo:static-content> > <fo:static-content flow-name="page-footer"> > <fo:block font-size="small" text-align="center" space-after="0.5in" > space-after.conditionality="retain">-<fo:page-number/>-</fo:block> > </fo:static-content> > > > > <fo:flow flow-name="xsl-region-body"> > <fo:block role="html:body" margin="0"> > > > > > > > > > > <fo:instream-foreign-object xmlns:svg="http://www.w3.org/2000/svg"> > <svg:svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1989 2574" > version="1.1"> > <svg:defs> > <svg:style type="text/css"> > > </svg:style> > </svg:defs> > <svg:path d="M82.9,492.2l549.3,0" class="g1_1" /> > <svg:path fill-rule="evenodd" d="M82.7,493.1l549.7,0l0,-1.1L82.7,492l0,1.1Z" > class="g2_1" /> > <svg:path d="M1924.8,130.1l0,360.9" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1924.6,491.2l1.2,0l0,-361.3l-1.2,0l0,361.3Z" class="g2_1" /> > <svg:path d="M632.6,493.7l0,103.8" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M632.4,597.7l1.2,0l0,-104.2l-1.2,0l0,104.2Z" class="g2_1" /> > <svg:path d="M1924.8,493.7l0,103.8" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1924.6,597.7l1.2,0l0,-104.2l-1.2,0l0,104.2Z" class="g2_1" /> > <svg:path d="M82.9,668.5l550.5,0" class="g1_1" /> > <svg:path fill-rule="evenodd" d="M82.7,669.5l550.9,0l0,-1.2l-550.9,0l0,1.2Z" > class="g2_1" /> > <svg:path d="M82.9,716.5l550.5,0" class="g1_1" /> > <svg:path fill-rule="evenodd" d="M82.7,717.5l550.9,0l0,-1.2l-550.9,0l0,1.2Z" > class="g2_1" /> > <svg:path d="M1473.4,1152.6l135,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1473.2,1153.6l135.4,0l0,-1.1l-135.4,0l0,1.1Z" class="g2_1" /> > <svg:path d="M1631.8,1152.6l135,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1631.6,1153.6l135.4,0l0,-1.1l-135.4,0l0,1.1Z" class="g2_1" /> > <svg:path d="M82.9,1174.5l549.3,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1175.5l549.7,0l0,-1.2l-549.7,0l0,1.2Z" class="g2_1" /> > <svg:path d="M1924.8,600.2l0,573.1" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1924.6,1173.5l1.2,0l0,-573.5l-1.2,0l0,573.5Z" class="g2_1" /> > <svg:path d="M1338,1241.2l0,1043.6" class="g1_1" /> > <svg:path fill-rule="evenodd" d="M1337.8,2285l1.2,0l0,-1044l-1.2,0l0,1044Z" > class="g2_1" /> > <svg:path d="M1924.8,1176.1l0,1108.7" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1924.6,2285l1.2,0l0,-1109.1l-1.2,0l0,1109.1Z" class="g2_1" /> > <svg:path d="M81.7,129l0,2306.4" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M81.5,2435.6l1.2,0l0,-2306.8l-1.2,0l0,2306.8Z" class="g2_1" /> > <svg:path d="M1924.8,2287.5l0,147.9" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1924.6,2435.6l1.2,0l0,-148.3l-1.2,0l0,148.3Z" class="g2_1" /> > <svg:path d="M632.6,600.2l0,573.1" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M632.4,1173.5l1.2,0l0,-573.5l-1.2,0l0,573.5Z" class="g2_1" /> > <svg:path d="M302.6,1241.2l0,653.5" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M302.4,1894.9l1.1,0l0,-653.9l-1.1,0l0,653.9Z" class="g2_1" /> > <svg:path d="M523.4,1241.2l0,653.5" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M523.2,1894.9l1.2,0l0,-653.9l-1.2,0l0,653.9Z" class="g2_1" /> > <svg:path d="M1074.3,1241.2l0,653.5" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1074.1,1894.9l1.1,0l0,-653.9l-1.1,0l0,653.9Z" class="g2_1" /> > <svg:path d="M1338,2287.5l0,80.8" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1337.8,2368.5l1.2,0l0,-81.2l-1.2,0l0,81.2Z" class="g2_1" /> > <svg:path d="M767.6,1895.1l0,473.2" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M767.4,2368.5l1.2,0l0,-473.6l-1.2,0l0,473.6Z" class="g2_1" /> > <svg:path d="M82.9,129l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,129.9l1843.1,0l0,-1.1l-1843.1,0l0,1.1Z" class="g2_1" /> > <svg:path fill-rule="evenodd" > d="M632.4,493.5l1293.4,0l0,-2.3l-1293.4,0l0,2.3Z" class="g2_1" /> > <svg:path d="M82.9,554.9l550.5,0" class="g1_1" /> > <svg:path fill-rule="evenodd" d="M82.7,555.9l550.9,0l0,-1.1l-550.9,0l0,1.1Z" > class="g2_1" /> > <svg:path fill-rule="evenodd" > d="M632.4,600l1293.4,0l0,-2.3l-1293.4,0l0,2.3Z" class="g2_1" /> > <svg:path d="M1473.4,668.5l452.2,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1473.2,669.5l452.6,0l0,-1.2l-452.6,0l0,1.2Z" class="g2_1" /> > <svg:path d="M1473.4,716.5l452.2,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1473.2,717.5l452.6,0l0,-1.2l-452.6,0l0,1.2Z" class="g2_1" /> > <svg:path d="M1473.4,764.5l452.2,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1473.2,765.4l452.6,0l0,-1.1l-452.6,0l0,1.1Z" class="g2_1" /> > <svg:path d="M1473.4,812.4l452.2,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1473.2,813.4l452.6,0l0,-1.2l-452.6,0l0,1.2Z" class="g2_1" /> > <svg:path d="M1473.4,860.4l452.2,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1473.2,861.4l452.6,0l0,-1.1l-452.6,0l0,1.1Z" class="g2_1" /> > <svg:path d="M1473.4,908.4l452.2,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1473.2,909.4l452.6,0l0,-1.2l-452.6,0l0,1.2Z" class="g2_1" /> > <svg:path d="M1473.4,956.4l452.2,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1473.2,957.4l452.6,0l0,-1.2l-452.6,0l0,1.2Z" class="g2_1" /> > <svg:path d="M1473.4,1004.4l452.2,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1473.2,1005.4l452.6,0l0,-1.2l-452.6,0l0,1.2Z" class="g2_1" /> > <svg:path d="M82.9,1052.4l550.5,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1053.4l550.9,0l0,-1.2l-550.9,0l0,1.2Z" class="g2_1" /> > <svg:path d="M1790.2,1152.6l135.4,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1790,1153.6l135.8,0l0,-1.1l-135.8,0l0,1.1Z" class="g2_1" /> > <svg:path fill-rule="evenodd" > d="M632.4,1175.9l1293.4,0l0,-2.4l-1293.4,0l0,2.4Z" class="g2_1" /> > <svg:path d="M82.9,1240l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1241l1843.1,0l0,-1.2l-1843.1,0l0,1.2Z" class="g2_1" /> > <svg:path d="M82.9,1304l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1305l1843.1,0l0,-1.2l-1843.1,0l0,1.2Z" class="g2_1" /> > <svg:path d="M82.9,1369.6l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1370.5l1843.1,0l0,-1.1l-1843.1,0l0,1.1Z" class="g2_1" /> > <svg:path d="M82.9,1435.1l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1436.1l1843.1,0l0,-1.2l-1843.1,0l0,1.2Z" class="g2_1" /> > <svg:path d="M82.9,1500.6l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1501.6l1843.1,0l0,-1.2l-1843.1,0l0,1.2Z" class="g2_1" /> > <svg:path d="M82.9,1566.2l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1567.2l1843.1,0l0,-1.2L82.7,1566l0,1.2Z" class="g2_1" /> > <svg:path d="M82.9,1631.7l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1632.7l1843.1,0l0,-1.2l-1843.1,0l0,1.2Z" class="g2_1" /> > <svg:path d="M82.9,1697.3l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1698.2l1843.1,0l0,-1.1l-1843.1,0l0,1.1Z" class="g2_1" /> > <svg:path d="M82.9,1762.8l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1763.8l1843.1,0l0,-1.2l-1843.1,0l0,1.2Z" class="g2_1" /> > <svg:path d="M82.9,1828.4l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1829.3l1843.1,0l0,-1.1l-1843.1,0l0,1.1Z" class="g2_1" /> > <svg:path d="M82.9,1893.9l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,1894.9l1843.1,0l0,-1.2l-1843.1,0l0,1.2Z" class="g2_1" /> > <svg:path d="M1339.2,1972.3l586.4,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1339,1973.3l586.8,0l0,-1.2l-586.8,0l0,1.2Z" class="g2_1" /> > <svg:path d="M1339.2,2050.7l586.4,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1339,2051.7l586.8,0l0,-1.2l-586.8,0l0,1.2Z" class="g2_1" /> > <svg:path d="M768.8,2129.1l1156.8,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M768.6,2130.1l1157.2,0l0,-1.2l-1157.2,0l0,1.2Z" class="g2_1" /> > <svg:path d="M1339.2,2207.5l586.4,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M1339,2208.5l586.8,0l0,-1.2l-586.8,0l0,1.2Z" class="g2_1" /> > <svg:path fill-rule="evenodd" d="M1337.8,2287.3l588,0l0,-2.3l-588,0l0,2.3Z" > class="g2_1" /> > <svg:path d="M768.8,2367.5l1156.8,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M768.6,2368.5l1157.2,0l0,-1.2l-1157.2,0l0,1.2Z" class="g2_1" /> > <svg:path d="M82.9,2434.6l1842.7,0" class="g1_1" /> > <svg:path fill-rule="evenodd" > d="M82.7,2435.6l1843.1,0l0,-1.2l-1843.1,0l0,1.2Z" class="g2_1" /> > <svg:path fill-rule="evenodd" > d="M1763.1,380c0,-8.6,7.9,-15.7,17.6,-15.7c9.8,0,17.7,7.1,17.7,15.7c0,8.7,-7.9,15.7,-17.7,15.7c-9.7,0,-17.6,-7,-17.6,-15.7Z" > class="g2_1" /> > <svg:path > d="M1763.1,380c0,-8.6,7.9,-15.7,17.6,-15.7c9.8,0,17.7,7.1,17.7,15.7c0,8.7,-7.9,15.7,-17.7,15.7c-9.7,0,-17.6,-7,-17.6,-15.7Z" > class="g3_1" /> > <svg:path fill-rule="evenodd" > d="M285.9,1999.2c0,-8.7,7.9,-15.7,17.7,-15.7c9.7,0,17.6,7,17.6,15.7c0,8.7,-7.9,15.7,-17.6,15.7c-9.8,0,-17.7,-7,-17.7,-15.7Z" > class="g2_1" /> > <svg:path > d="M285.9,1999.2c0,-8.7,7.9,-15.7,17.7,-15.7c9.7,0,17.6,7,17.6,15.7c0,8.7,-7.9,15.7,-17.6,15.7c-9.8,0,-17.7,-7,-17.7,-15.7Z" > class="g3_1" /> > </svg:svg> > </fo:instream-foreign-object> > > > > > > > > > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > </xsl:template> > </xsl:stylesheet> > > > > -- > View this message in context: > http://apache-fop.1065347.n5.nabble.com/SVG-tags-not-displaying-in-PDF-tp45245.html > Sent from the FOP - Dev mailing list archive at Nabble.com. > . >