[xsl] RE: Error message, doc not well formed, still more info

Subject: [xsl] RE: Error message, doc not well formed, still more info
From: Steve Fogel <STEVE.FOGEL@xxxxxxxxxx>
Date: Wed, 4 May 2011 02:37:29 -0700 (PDT)
Hi, all...

Thanks to the Oxygen debugger, I've determined that the output of the
stylesheet listed in my previous message looks like this:

  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<div xmlns="http://www.w3.org/1999/xhtml"; class="header">
<a id="top" name="top"/>
<div class="zz-skip-header">
<a href="#BEGIN">Skip Headers</a>
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0"


This is why it's expecting only one div, not three, but where the heck is the
<html> tag and the <body> tag, which should be enclosing all this??!!

This should be DOCTYPE html.

Any ideas?



-----Original Message-----
From: Steve Fogel
Sent: Tuesday, May 03, 2011 11:41 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Error message, doc not well formed, more info

Hi, all...

More info...the error is occurring right after a <div> is output. The xhtml
<body> has only 3 child nodes, each a <div>. The div causing (?) the error is
the 2nd one. So if for some reason the processor thinks that <body> must have
only one top element underneath it, the 2nd div would cause the error.



Current Thread