You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Gosselin, Michael" <Mi...@AthenaDiagnostics.com> on 2006/03/29 20:33:20 UTC

Still need help with document(), layout

I've attached the XSL file.

You will see the following lines:

	<!-- <xsl:apply-templates select="document('ClientInfo.xml')"/>
	<xsl:apply-templates/>  -->	
	<!-- Mailing information table-->

The first two are the lines I added to import the data.  It just brought in
all the data, then stuck it at the top of the output file, along with the
rest of the XML file.  

The third is the comment.  The lines below that are where I'm having layout
problems.  I can't seem to get the tables to work the way I want.  The first
column goes off to the left of the paper.  I can't seem to get the space
after the mailing information right, and I'm sure I'm going to need to
modify the pages so that the top margin is a little lower.

How do I get the document() function working, including getting the data I
want into the lines I want (currently listed as "Row 2 Column 1, Row 2
Column 2, ..."?

How do I get the tables to stay within the print area?

Thanks!! <<AthenaFormat.xsl>> 


Michael Gosselin
Athena Diagnostics, Inc.
(508) 756-2886 x3708
(800) 394-4493 x3708



Re: Still need help with document(), layout

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
You might see more willingness to help on a mailing list dedicated to
XSLT, for example: http://xmlgraphics.apache.org/fop/resources.html#XSLT-at-Mulberry-Tech

Anyway, an XSLT without an XML is only for those who like mental
challenges. You make the life of those who help a lot easier if you
provide a full example so they can easily experiment.

On 29.03.2006 20:33:20 Gosselin, Michael wrote:
> I've attached the XSL file.
> 
> You will see the following lines:
> 
> 	<!-- <xsl:apply-templates select="document('ClientInfo.xml')"/>
> 	<xsl:apply-templates/>  -->	
> 	<!-- Mailing information table-->
> 
> The first two are the lines I added to import the data.  It just brought in
> all the data, then stuck it at the top of the output file, along with the
> rest of the XML file.  
> 
> The third is the comment.  The lines below that are where I'm having layout
> problems.  I can't seem to get the tables to work the way I want.  The first
> column goes off to the left of the paper.  I can't seem to get the space
> after the mailing information right, and I'm sure I'm going to need to
> modify the pages so that the top margin is a little lower.
> 
> How do I get the document() function working, including getting the data I
> want into the lines I want (currently listed as "Row 2 Column 1, Row 2
> Column 2, ..."?
> 
> How do I get the tables to stay within the print area?
> 
> Thanks!! <<AthenaFormat.xsl>> 
> 
> 
> Michael Gosselin
> Athena Diagnostics, Inc.
> (508) 756-2886 x3708
> (800) 394-4493 x3708
> 
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org