<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><fo:external-graphic src="uri('file:///${basedir}/../../image/bar.jpg" .../><BR><BR>$ should be inside the Curly brackets</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><fo:external-graphic src="uri('file:///{$basedir}/../../image/bar.jpg" .../><BR><BR><BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Jason Zaugg <jzaugg@gmail.com><BR>To: xep-support@renderx.com<BR>Sent: Thursday, November 22, 2007 9:55:05 PM<BR>Subject: [xep-support] XEP Java API: Setting a base directory for relative image inclusion<BR><BR>I would like to layout a template authoring repository as follows:<BR><BR>\project1<BR>\project1\xsf\project1.xsl<BR>\project1\image\foo.jpg<BR>\project2\xsf\project2.xsl<BR>\project2\image\baz.jpg<BR>\common\image\bar.jpg<BR><BR>I would then like to render some XML data with a XSL to PDF.<BR><BR>I would like to include relative path references in project1.xsl to<BR>generate FO like:<BR><fo:external-graphic src="uri('file:/../image/foo.jpg" .../><BR><fo:external-graphic src="uri('file:/../../image/bar.jpg" .../><BR><BR>Can XEP be configured to perform relative file lookups? Is this only<BR>relative to the
working directory of the JVM, or configurable on each<BR>FormatterImpl instance?<BR><BR>Or should I declare a variable 'basedir', and create absolute URIs. I<BR>would need a way to pass this<BR><fo:external-graphic src="uri('file:///${basedir}/../../image/bar.jpg" .../><BR><BR>Is the SystemID passed in the the StreamSource constructor related to<BR>this in anyway?<BR><BR>Thanks,<BR><BR>Jason<BR>-------------------<BR>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'<BR>in the body of the message to <A href="mailto:majordomo@renderx.com" ymailto="mailto:majordomo@renderx.com">majordomo@renderx.com</A> from the address<BR>you are subscribed from.<BR>(*) By using the Service, you expressly agree to these Terms of Service <A href="http://www.renderx.com/terms-of-service.html" target=_blank>http://www.renderx.com/terms-of-service.html</A><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>
<hr size=1>Be a better sports nut! Let your teams follow you
with Yahoo Mobile. <a href="http://us.rd.yahoo.com/evt=51731/*http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
">Try it now.</a></body></html>