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>
|