Have you tried to serialize it as xhtml?
I think the null pointer exception is caused by the page2html.xsl which may
not exist (check in your {publication}/xslt directory) whereas the
page2xhtml.xsl file may be present.
Yvan
-----Message d'origine-----
De : Victoria Vitaver [mailto:[EMAIL PROTECTED]
Envoyé : lundi 4 juillet 2005 03:10
À : [email protected]
Objet : Re: Transformation problem - browser specific
>>> a. IE just displaying a XML representation of my desired website
>>> instead of the HTML representation
>>
>>
>>
>> Did you notice:
>> <map:match pattern="**/search.htm">
>> ...
>> <map:serialize type="xml"/>
>> </map:match>
>>
>> If you want HTML, it should be:
>> <map:serialize type="html"/>
>
>
> Yes, I thought it might be that ... but .. when I change it to html I
> get a Null Pointer Exception [1] :/
> I really dont understand why I get a null pointer exception out of this
> change ?!
> (Thats why I kept it as 'xml' for the time being, contrary to my better
> judgment)
>
Probelm resolved: I now set my document-type to be "text/html" and it
'works'.
I still serialize to xml as it doesn't get rid of my error when I try to
serialize to html, but at least now my page is displayed on IE.
Thank you for your help.
Vica
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]