[Home] [By Thread] [By Date] [Recent Entries]
David Carlisle wrote:
I just checked, and my server is serving XSL and XML as application/xml, so that looks fine. title must not be empty.I know official XHTML should have more in, but as you've said yourself, it should be ok as-is... You are not using your xhtml namespace. Furthermore, the namespace is not the correct namespace. See my earlier post. You are creating HTML, ok, but not XHTML.Why is the namespace not correct? It looks ok to me, I just tested the link... I realise I'm not using the namespace, but that shouldn't affect what's dumped to a file, so I want to leave that out atm, to simplify the test case =) That was David's suggestion, not mine. I just re-emphasized ;)Well, as I've mentioned I'm looking at the transformed content dumped by my PHP; the browser doesn't come into it now, really, other than to refresh my page and re-run my transformation script. This is no use. Once you do this, the output fails to be HTML. HTML still does not have an element <test> and will never have.Aargh, I know that! lol. I don't care about producing strict (X)HTML at the minute, I just want to get the output to work, and surely with 'method="xml"' some of this should be fine? Well clearly it should, since it works ok for you and David. I just tried David's link, and it displays fine for me (ul tree); this is so bizarre. In addition to checking the content-type of your output that David suggests, try running it locally like I did, rename the output xxx.html and serve the html page. If you now still see nothing, it really is some configuration error of your Apache or other server. If you suddenly see the correct output, it is also a configuration error: likely the content-type in the HTTP headers (but that shouldn't stop the View Source from showing the actual content).Ok, I will give that a shot shortly. Thanks for your suggestions again, guys. I'll keep you posted. - Dave
|

Cart



