|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 3 Questions about FOP.
> Question 3: > > The only way I could get a graphic to appear is by using > "external-graphic". > Is there another way? Preferably, I would like to use > relative links. FOP can handle relative links. I'm not exactly sure which version this was implemented, but the latest is 0.20. > Also, how can I get my image to appear in the size it was created in and not > stretch to fill a page? I also have a linke below my image > which I do not > know where it came form. > > Here's my XSL: > <xsl:template match="graphic"> > <fo:block font-weight="bold"> > <xsl:value-of select="name"/> > </fo:block> > <fo:block > text-align="center" > margin-top=".75in" > page-break-after="always"> > <fo:external-graphic> > <xsl:attribute > name="src">http://workstation/cocoon/development/_images/<xsl:value-of > select="location"/></xsl:attribute> > </fo:external-graphic> > </fo:block> Maybe try: <xsl:element name="fo:external-graphic"> <xsl:attribute name="src"> http://workstation/cocoon/development/_images/ <xsl:value-of select="location"/> </xsl:attribute> <xsl:attribute name="height">100px</xsl:attribute> <xsl:attribute name="width">100px</xsl:attribute> </fo:external-graphic> ------------------------------------------------------------------------------ This message and any attachment is confidential and may be privileged or otherwise protected from disclosure. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








