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:  NO PROBLEM with direct xml css application
Date:  2007-08-02 02:28:07
From:  johnhaze1
Response to: problem with direct xml css application


Thanks Josh! Including a media attribute in the xml-stylesheet solved the problem. Thanks a lot!!! the xml now loks like this ceteris paribus(css, java code):
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="weather.css" type="text/css" media="all" ?>
<weather>
<station>
<location>Springfield, NT</location>
<description>Sunny</description>
<tempf>85</tempf>
</station>
<station>
<location>Arlen, TX</location>
<description>Super Sunny</description>
<tempf>99</tempf>
</station>
<station>
<location>South Park, CO</location>
<description>Snowing</description>
<tempf>18</tempf>
</station>
</weather>


 Feed java.net RSS Feeds