[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    Re: disable-output-escaping in Apache FOP
From:       Aish <aiswarya () laserwords ! com>
Date:       2010-01-23 9:16:24
Message-ID: 27284543.post () talk ! nabble ! com
[Download RAW message or body]


Thanks Pietschmann....


J.Pietschmann wrote:
> 
> On 23.01.2010 06:54, Aish wrote:
> > I need to create pdf file for xml. I did it through xsl. when i
> > transformed
> > xml to fo using saxon processor, i had no problem in
> > disable-output-escaping="yes" attribute. But when i executed the file
> > using
> > FOP.bat in command prompt(say Fop -xml sample.xml -xsl sample.xsl -pdf
> > sample.pdf) its throwing error.
> 
> The disable-output-escaping="yes" attribute has only an effect if the
> result of the transformation is serialized as XML.
> If you use the "Fop -xml sample.xml -xsl sample.xsl -pdf sample.pdf"
> command, the result of the transformation is not serialized, instead
> it is piped as a kind of events to the FO processor. Because there is
> no serialized output, there is no way to disable output escaping.
> 
> Using disable-output-escaping="yes" is a bad idea anyway, and can be
> avoided in general. Check the XSLT FAQ
> http://www.dpawson.co.uk/xsl/sect2/N2215.html
> 
> J.Pietschmann
> 
> ---------------------------------------------------------------------
> 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://old.nabble.com/disable-output-escaping-in-Apache-FOP-tp27283715p27284543.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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic