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 bonekrusher <dj...@yahoo.com> on 2008/04/04 21:05:52 UTC

Running FOP 0.94 from a server

Hi,

I am running XML to PDF from a server. Everything works fine except when I
have a stylesheet that imports another. e.g.

<xsl:import href="common_attribute_sets.xsl" />

I receive an error "can not compile stylesheet"

I suspect my problem is with the href path. Will the href path be relative
to the main stylesheet or the FOP.jar file?

Thanks

Bones

-- 
View this message in context: http://www.nabble.com/Running-FOP-0.94-from-a-server-tp16495645p16495645.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: Running FOP 0.94 from a server

Posted by Laurent Berthelot <la...@gmail.com>.
I work with xsl-fo on a server environment, and I don't have problem....

2008/4/5, bonekrusher <dj...@yahoo.com>:
>
>
> Hi Eric,
>
> Thank you for the reply. I understand how <xsl:import> works and how they
> are imported. My stylesheets compile when running from Saxon 9 and Xalan
> on
> a local machine. Its only when I try to compile the stylesheets from a
> server. They will not compile.
>
> Regards,
>
> Bones
>
>
>
> Amick, Eric wrote:
> >
> > Strictly speaking, it's neither. According to the XSLT spec, it's
> > interpreted relative to the location of the stylesheet that contains the
> > <xsl:import>. Remember that imported stylesheets can also import
> > stylesheets.
> >
> >
> > Eric Amick
> > Legislative Computer Systems
> > Office of the Clerk
>
> >
> > -----Original Message-----
> > From: bonekrusher [mailto:djseek@yahoo.com]
> > Sent: Friday, April 4, 2008 15:06
> > To: fop-users@xmlgraphics.apache.org
> > Subject: Running FOP 0.94 from a server
> >
> >
> > Hi,
> >
> > I am running XML to PDF from a server. Everything works fine except when
> > I have a stylesheet that imports another. e.g.
> >
> > <xsl:import href="common_attribute_sets.xsl" />
> >
> > I receive an error "can not compile stylesheet"
> >
> > I suspect my problem is with the href path. Will the href path be
> > relative to the main stylesheet or the FOP.jar file?
> >
> > Thanks
> >
> > Bones
> >
> > --
> > View this message in context:
> > http://www.nabble.com/Running-FOP-0.94-from-a-server-tp16495645p16495645
> > .html
> > Sent from the FOP - Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> >
> >
> >
>
> --
>
> View this message in context:
> http://www.nabble.com/Running-FOP-0.94-from-a-server-tp16495645p16511906.html
>
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

RE: Running FOP 0.94 from a server

Posted by bonekrusher <dj...@yahoo.com>.
Hi Eric,

Thank you for the reply. I understand how <xsl:import> works and how they
are imported. My stylesheets compile when running from Saxon 9 and Xalan on
a local machine. Its only when I try to compile the stylesheets from a
server. They will not compile.

Regards,

Bones



Amick, Eric wrote:
> 
> Strictly speaking, it's neither. According to the XSLT spec, it's
> interpreted relative to the location of the stylesheet that contains the
> <xsl:import>. Remember that imported stylesheets can also import
> stylesheets.
> 
> 
> Eric Amick
> Legislative Computer Systems
> Office of the Clerk
> 
> -----Original Message-----
> From: bonekrusher [mailto:djseek@yahoo.com] 
> Sent: Friday, April 4, 2008 15:06
> To: fop-users@xmlgraphics.apache.org
> Subject: Running FOP 0.94 from a server
> 
> 
> Hi,
> 
> I am running XML to PDF from a server. Everything works fine except when
> I have a stylesheet that imports another. e.g.
> 
> <xsl:import href="common_attribute_sets.xsl" />
> 
> I receive an error "can not compile stylesheet"
> 
> I suspect my problem is with the href path. Will the href path be
> relative to the main stylesheet or the FOP.jar file?
> 
> Thanks
> 
> Bones
> 
> --
> View this message in context:
> http://www.nabble.com/Running-FOP-0.94-from-a-server-tp16495645p16495645
> .html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Running-FOP-0.94-from-a-server-tp16495645p16511906.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


RE: Running FOP 0.94 from a server

Posted by "Amick, Eric" <Er...@mail.house.gov>.
Strictly speaking, it's neither. According to the XSLT spec, it's
interpreted relative to the location of the stylesheet that contains the
<xsl:import>. Remember that imported stylesheets can also import
stylesheets.


Eric Amick
Legislative Computer Systems
Office of the Clerk

-----Original Message-----
From: bonekrusher [mailto:djseek@yahoo.com] 
Sent: Friday, April 4, 2008 15:06
To: fop-users@xmlgraphics.apache.org
Subject: Running FOP 0.94 from a server


Hi,

I am running XML to PDF from a server. Everything works fine except when
I have a stylesheet that imports another. e.g.

<xsl:import href="common_attribute_sets.xsl" />

I receive an error "can not compile stylesheet"

I suspect my problem is with the href path. Will the href path be
relative to the main stylesheet or the FOP.jar file?

Thanks

Bones

--
View this message in context:
http://www.nabble.com/Running-FOP-0.94-from-a-server-tp16495645p16495645
.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


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