[xsl] how do XML and Graphics

Subject: [xsl] how do XML and Graphics
From: Sandra Mcdonnell <smcdonnell@xxxxxxxxxxxxxx>
Date: Fri, 23 Aug 2002 16:08:20 -0400
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



Current Thread