Pages: 1
Print
Author Topic: Modifying the Content in Layout-masters.xml  (Read 1584 times)
gymac
Member

Posts: 3


« on: March 21, 2012, 01:02:13 PM »

Hi all, I am using XMetal 6.0 Sp1 to generate PDF from a DITA.

Currently I am modifying the simple-page-master in layout-masters.xml by adding in an image to the region-body:

<fo:simple-page-master
        master-name="body-even"
        page-width="215.9mm"
        page-height="279.4mm">
        <fo:region-body
                  background-repeat="repeat-y"
                  background-image="url(C:\Users\William\Desktop\blackdot.jpg)"></fo:region-body>

The new "background-image" attribute did come out in the final fo, but the url is always set to something different like:

     <fo:region-body background-image="url(C:\Users\William\Desktop\Dita Cleaner\DITA\C18 Topic\pdf_out/)

So the image won't be actually rendered in the pdf since the url is not correct. I am thinking maybe somewhere XMetal is doing a dynamic redirecting or sth? Could experts help me maintain the url that I put in layout-masters.xml?

Thanks in advance!!
Logged
Pages: 1
Print
Jump to: