• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Need Help - problem with XSLT Trasformations - was problem generating PDF using FOP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need Help - problem with XSLT Trasformations - was problem generating PDF using FOP


  • Subject: Need Help - problem with XSLT Trasformations - was problem generating PDF using FOP
  • From: Amedeo Mantica <email@hidden>
  • Date: Mon, 9 Oct 2006 11:58:54 +0200

Hi all,

I have my data storage on a OpenBase SQL server and data is stored un UTF-8 format.

The web applications works fine ( I overrided the appendToResponse, takeValuesFromRequest and dispatchRequest methods in Application.java for setting the encoding to UTF-8).

You can see my work at:

http://www.ivc.it
http://www.muratti.it
http://www.azimutcoatings.com
http://www.pennellificiopuma.it
http://www.lineabird.it
http://www.lineahex.it
http://www.anticasignoria.it

These are seven websites, but is an unique WebObject applicatiion that select correct products, graphics, text and css based on selected site and language.

Now I need to export PDF tacnical sheet of products.

I followed the great Sasha an Chuck's book "Practical WebObjects" for serializing my data in XML format, then trasforming to PDF using Apache FOP.

Exporting data from EO to XML works fine. First XML become UTF-8 encoded.

When I do  the "SimpleTrasformation" with XSLT provided by Apple (where the Output Format is set UTF-8), I got bad data encoding, and all accented letters are bad.

Then trasforming again using apache FOP produce really bad results.

I tried to do the "SimpleTraformation" using a software (TestXSLT, http://www.entropy.ch/software/macosx/#testxslt ), a simple MacOS X app that get in input the original XML and the XLST, and outputs the trasformed XML. It works fine, no encoding trouble.

So I think the trouble is inside the Java trasformation engine, but I don't know how to fix.

Can you help me?
Thanks
Regards
Amedeo
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Sending a request to a url but not returning the page to the user
  • Next by Date: Tomcat Deployment problem!!!!!
  • Previous by thread: Re: Sending a request to a url but not returning the page to the user
  • Next by thread: Tomcat Deployment problem!!!!!
  • Index(es):
    • Date
    • Thread