Re: Problem with namespace and server-side XSLT
Georges Discry <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <[email protected]> |
Martin Honnen a écrit : > Georges Discry wrote: > > >> The main problem is more or less coming from Firefox, as it apparently >> has a problem with XHTML served as application/xhtml+xml with a prefix >> for the html element. > > Although that is not XSLT related that claim astonishes me. If you serve > as application/xhtml+xml then the document is parsed by the XML parser > and that is namespace aware so there should not be any problems if the > XHTML namespace is properly declared and applied to all elements > supposed to be XHTML elements (e.g. html, head, body, title and so on). > I'm not really used to namespaces and I think this problem occurred because the namespace wasn't applied to some elements (in fact, the head elements and children). I didn't really know what to think as I've only Opera (and IE, but it is IE after all) as alternative and it was displaying what I wanted. So both problems are solved now.