Re: disable-output-escaping in Apache FOP

2010-01-23 Thread J.Pietschmann

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-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: disable-output-escaping in Apache FOP

2010-01-23 Thread Aish

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-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@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-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



disable-output-escaping in Apache FOP

2010-01-22 Thread Aish

Hi,

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. I found that problem is with
disable-output-escaping=yes. It doesn't support that attribute. Any way to
rectify this. Please help me out.. Itz urgent..

Thanks in advance
Aish
-- 
View this message in context: 
http://old.nabble.com/disable-output-escaping-in-Apache-FOP-tp27283715p27283715.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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