Subject: [xsl] The case of the mysteriously corrupted XSL transformation (ARRGH) From: "Wong Chin Shin" <publicbbs@xxxxxxxxxxxxxxxx> Date: Tue, 30 Nov 2004 23:55:21 +0800 |
Hi, Behind that miserable attempt at email subject humor, there a whole lotta suffering going on. In between my efforts to debug my XSL transformation, validate my transformed HTML and ensure cross-browser compatibility, I managed to screw up my entire transformation on Firefox. The XML file is at http://www.nascencetech.com/recruitexpressmy/webadmin/AddPage.xml The XSL file is at http://www.nascencetech.com/recruitexpressmy/xsl/webadmin.xsl Nothing appears when I load AddPage.xml on Firefox. Zilch, nada. Works a treat on IE though. So I used XMLSpy to do a manual transform and tried to view the output as a static HTML file. Firefox displays the static html perfectly. I also validated the resultant code as valid HTML 4.01. The static file can be found at: http://www.nascencetech.com/recruitexpressmy/webadmin/XSLOutput.html So, I guess somehow, something's wrong with my XSL or XML file such that FF rejects it? How, I'm not sure... My clues: I had been screwing with a few XML/XSL editors the past couple of days. Tried XMLSpy, Treebeard, JEdit amongst others. Yesterday, I had errors transforming the XML using Treebeard and JEdit, saying that there was content in the prolog. I read that this error shows that there's a character before the XML declaration tag. Also read that using certain editors would insert some "BOM" character as the first char of an XML file. Not sure if this was the problem but at that time both FF and IE still managed to do the transformation. Well, that's where my debugging efforts landed me so far. If there's anybody who can verify if I somehow corrupted my XML/XSL file, I would be much obliged. The guys here have been terrific in giving advice, I learned much over the past 3 weeks (a bit of shoe-polishing never hurt, heh). Oh, please do not try to submit the form, I haven't gotten that far yet :P Thanks Wong
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] associated sums gouped by dat, dmitrik | Thread | [xsl] Setting variable based on pas, Matthew Hailstone |
Re: [xsl] Can't match node without , David Carlisle | Date | [xsl] Setting variable based on pas, Matthew Hailstone |
Month |