Re: [WSG] Strange empty XHTML element issues in IE FF

2006-02-23 Thread XStandard
Lachlan wrote: That code [XSLT] your referring too seems to be incomplete. As I mentioned in previous email, it is to illustrate the technique and not meant to be the final script. Lachlan wrote: Fair enough, but do you agree that if there is no intention of any further XML processing, then

[WSG] Strange empty XHTML element issues in IE FF

2006-02-22 Thread Paul Hempsall
Title: Message I came across a strange issue last night while converting some XML data via an XSL template into XHTML. Issue 1: In the Head sectionof my XHTML I had an empty script element (see below). IE refused to load the page. FF had no problem with this. script

Re: [WSG] Strange empty XHTML element issues in IE FF

2006-02-22 Thread XStandard
Lachlan wrote: It is just as easy to set xsl:output method=html, output an HTML4 DOCTYPE and not worry about inserting a space before '/' for empty elements. If you use the 10 lines of re-usable code that I suggested in your XSLT, one does not need to worry - you have XML in and you have XML

Re: [WSG] Strange empty XHTML element issues in IE FF

2006-02-22 Thread Lachlan Hunt
Vlad Alexander (XStandard) wrote: Lachlan wrote: It is just as easy to set xsl:output method=html, output an HTML4 DOCTYPE and not worry about inserting a space before '/' for empty elements. If you use the 10 lines of re-usable code that I suggested in your XSLT, one does not need to worry

[WSG] Strange empty XHTML element issues in IE FF

2006-02-21 Thread Paul Hempsall
Title: Message I came across a strange issue last night while converting some XML data via an XSL template into XHTML. Issue 1: In the Head sectionof my XHTML I had an empty script element (see below). IE refused to load the page. FF had no problem with this. script

Re: [WSG] Strange empty XHTML element issues in IE FF

2006-02-21 Thread Juergen Auer
Hello Paul, On 22 Feb 2006 at 9:16, Paul Hempsall wrote: I came across a strange issue last night while converting some XML data via an XSL template into XHTML. yes, there are some problems. I had the same problems creating output pages inside my main project 'server-daten'. Users can create

Re: [WSG] Strange empty XHTML element issues in IE FF

2006-02-21 Thread Nick Gleitzman
On 22 Feb 2006, at 9:16 AM, Paul Hempsall wrote:   Issue 1: In the Head section of my XHTML I had an empty script element (see below). IE refused to load the page. FF had no problem with this.   script type=text/javascript src=nav.js/   To get IE past this line in the markup I had to change

Re: [WSG] Strange empty XHTML element issues in IE FF

2006-02-21 Thread Lachlan Hunt
Paul Hempsall wrote: I came across a strange issue last night while converting some XML data via an XSL template into XHTML. Issue 1: In the Head section of my XHTML I had an empty script element (see below). IE refused to load the page. IE does not support XHTML at all. All of your

Re: [WSG] Strange empty XHTML element issues in IE FF

2006-02-21 Thread Nick Gleitzman
On 22 Feb 2006, at 10:00 AM, Patrick H. Lauke wrote: Nick Gleitzman wrote: Easy. In both cases, 'self-closing' elements is incorrect. Both script and div need full closing: /script and /div, whether they're empty or not. To expand on that answer: unless you're sending XHTML with an XML or

RE: [WSG] Strange empty XHTML element issues in IE FF

2006-02-21 Thread Paul Hempsall
Thanks for everyone's responses - a wealth of information, as usual. Nick: I'm using plain text now for my emails, I apologise for the inconvenience. PaulH This information is intended for the addressee only. The use, copying or distribution of this message or any information it contains, by

RE: [WSG] Strange empty XHTML element issues in IE FF

2006-02-21 Thread Paul Hempsall
Just a followup - in case anyone else was following this thread. I found a really informative page that expands on the answers provided on this list: http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html I've also discovered (after trying to figure out why the W3C Validator kept saying my MIME

Re: [WSG] Strange empty XHTML element issues in IE FF

2006-02-21 Thread XStandard
Paul wrote: I came across a strange issue last night while converting some XML data via an XSL template into XHTML. You can write your XSLT to output XHTML that follows compatibility guidelines. You can use the technique in this XSLT: http://misc.xstandard.com/wsg/preview.zip If you need a

Re: [WSG] Strange empty XHTML element issues in IE FF

2006-02-21 Thread Lachlan Hunt
Vlad Alexander (XStandard) wrote: You can write your XSLT to output XHTML that follows compatibility guidelines. You can use the technique in this XSLT: http://misc.xstandard.com/wsg/preview.zip If you need a hand with your XSLT, contact me off the list and I'll be happy to help. If you're