This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
how do XML and Graphics
- From: Sandra Mcdonnell <smcdonnell at sourcefire dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 23 Aug 2002 16:08:20 -0400
- Subject: [xsl] how do XML and Graphics
- References: <200208231252.IAA22924@biglist.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
I have worked out including graphics elements in my XML and transforming
the whole thing to HTML, but I cannot work out what needs to happen in
XSL/XS FO to make the graphic render in PDF.
My XML is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by sandy
(Sourcefire) -->
<?xml-stylesheet type="text/xsl" href="C:\Experimenting\toFO.xsl"?>
<Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\Experimenting\TrialSSschema.xsd">
<Head1>Header</Head1>
<para>Text here.</para>
<Graphic>
<Title>Attempt 1</Title>
<Source>Picture.gif</Source>
<Description>Attempting to add a graphic</Description>
</Graphic>
</Document>
Can anyone tell me what the style sheet needs to include in the
transformation to FO to then render my graphic in the final PDF?
I appreciate your help.
Sandy
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list