cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frans Thamura <fth4m...@yahoo.com>
Subject Re: Problems with different stylesheets
Date Thu, 19 Apr 2001 05:47:07 GMT
Never happen with my script.

Usually the error in netscape, not in internet
explorer???

Frans

--- Anders_Hgqvist <hogqvist@hotmail.com> wrote:
> Hi!
> 
> I'm trying to apply two different stylesheets to an
> XML-file, one for wap and one for Netscape and
> Explorer. The xml-file looks like this:
> 
> <?xml-stylesheet type="text/xsl"
> href="style/wap.xsl" media="wap"?>
> <?xml-stylesheet type="text/xsl"
> href="style/html.xsl" media="mozilla5"?>
> <?xml-stylesheet type="text/xsl"
> href="style/html.xsl" media="explorer"?>
> 
> When I try to access the site in Netscape and from a
> wap-phone it's working, but from explorer 5 I get
> this message:
> 
> *******************************
> 
> The XML page cannot be displayed 
> Cannot view XML input using style sheet. Please
> correct the error and then click the Refresh button,
> or try again later. 
> 
> 
>
--------------------------------------------------------------------------------
> 
> The character '>' was expected. Line 81, Position 5 
> 
>     -- media type, as per [RFC2045]
> ----^
> *******************************
> If I copy the produced HTML code and save it to a
> html file I can open it in explorer and view it
> without problems. What am I doing wrong here? The
> XML file doesn't have 81 lines and in the XSL file
> there is no missin >-character.
> 
> /Anders Hgqvist
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message