The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Generating PDFs for Fun and Profit with Flying Saucer and iText
Subject:  problem with direct xml css application
Date:  2007-07-22 13:20:24
From:  johnhaze1
Response to: problem with direct xml css application


all of the text between the xml nodes in weather xml are printed out in one line, each node value separated by one space. but it does not get to applying the css format information at all. Meanign that the rae text is printed but no blocks and colors, etc... I really struggle to get the point where the mistake lies. There is no exeption thrown. The xml and css file are all in the projet root folder, whose path I give the ITextRenderer.setDocument method as the baseUrl. As well the NaiveUserAgent, which i debugged is finding the css file so seems to have no problems (no exception) with using this baseUrl. If i do not use this base url and using the other setDocument method whcih only takes the read xml Fiel as an argument the ITextRenderer can't get the css --> Exceptio MalFormedUrl. Thanks for any hint!

 Feed java.net RSS Feeds