Pascal,

I hope the following is what you are looking for. I've commented out portions 
that are probably not required, if more is required I'll happily send it along. 
The SVG was created in Inkscape and then stripped down to the bare minimum. 
I've tested with @viewport and without @viewport. Doesn't seem to make a 
difference in FOP 0.94 and Firefox when viewing but added it back for testing 
and completeness. All namespaces have been declared in the XSLTs and output.

bg.svg
<svg xmlns="http://www.w3.org/2000/svg"; width="7.25in" height="9.3625in" 
viewport="0 0 7.25 9.3625" version="1.1">
  <!-- vertical column lines -->
  <line x1="2.425in" y1="1.57in" x2="2.425in" y2="9.225in" stroke="black" 
stroke-width="0.01in" />
  <line x1="4.825in" y1="1.57in" x2="4.825in" y2="9.225in" stroke="black" 
stroke-width="0.01in" />
</svg>

<fo:simple-page-master master-name="titlePage_NI" page-width="8.5in" 
page-height="11.0in">
  <fo:region-body region-name="sectionBody_NI" background-image="url(bg.svg)" 
background-repeat="no-repeat" margin-top="1.0in" margin-bottom="0.6375in" 
margin-right="0.5in" margin-left="0.75in" />
  <!--fo:region-before region-name="headerOddNI" extent="1.0in" />
  <fo:region-after region-name="footerOddNI" extent="0.6375in" /-->
</fo:simple-page-master>


<fo:page-sequence-master master-name="pageSequence_NI" >
  <fo:single-page-master-reference master-reference="titlePage_NI" />
  <!--fo:repeatable-page-master-alternatives>
  <fo:conditional-page-master-reference blank-or-not-blank="blank" 
master-reference="evenPage_NIBlank" />
  <fo:conditional-page-master-reference odd-or-even="odd" 
master-reference="oddPage_NI" />
  <fo:conditional-page-master-reference odd-or-even="even" 
master-reference="evenPage_NI" />
  </fo:repeatable-page-master-alternatives-->
</fo:page-sequence-master>


<fo:page-sequence master-reference="pageSequence_NI" format="1" 
initial-page-number="1" force-page-count="end-on-even">
  <!--xsl:call-template name="ct_Header_PartsNI" />
  <xsl:call-template name="ct_Footer_PartsNI" /-->
  <fo:flow flow-name="sectionBody_NI">
    <fo:block>a test</fo:block>
  </fo:flow>
</fo:page-sequence>

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries


-----Original Message-----
From: Pascal Sancho [mailto:[email protected]] 
Sent: Thursday, March 25, 2010 10:45 AM
To: [email protected]
Subject: Re: SVG as background to page in 0.95

Mario,

can you provide a (short) XSL-FO snippet, including the SVG file, that
reproduce the issue?

Pascal

Mario Madunic a écrit :
> Pascal,
>
> Here is a copy of the various paths tried and the fo produced
>
> (...)
>
> And without the url() in the instances without a single quote.
>
> If this is working fine for others (and I'm certain it is), could it be my 
> machine? Use of ANT? I'm just trying to think of other variables that might 
> be the culprit. I don't once again have an attribute (@background-image) in 
> the wrong place?
>
> Thanks, your help it is appreciated.
>
> Marijan (Mario) Madunic
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


--------------------------------------------------------------------
Please consider the environment before printing this e-mail.

CONFIDENTIALITY STATEMENT: This communication (and  any and all information or 
material transmitted with this communication) is confidential, may be 
privileged and is intended only for the use of the intended recipient. If you 
are not the intended recipient, any review, retransmission, circulation, 
distribution, reproduction, conversion to hard copy, copying or other use of 
this communication, information or material is strictly prohibited and may be 
illegal. If you received this communication in error or if it is forwarded to 
you without the express authorization of New Flyer, please notify us 
immediately by telephone or by return email and permanently delete the 
communication, information and material from any computer, disk drive, diskette 
or other storage device or media. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to