From: Michael Kay <michael.h.kay@nt...> - 2002-03-29 20:49:41
It's complaining about non-whitespace text between the top-level elements.
Can't see any in your example, you would have to send me the actual file.
The line number may not be accurate.
> -----Original Message-----
> From: saxon-help-admin@...
> [mailto:saxon-help-admin@...]On Behalf Of Eric K
> Sent: 29 March 2002 03:56
> To: saxon-help@...
> Subject: [saxon] "No character data is allowed in top level elements"
> I'm in the process of converting an MSXSL file to real XSLT,
> and I just
> tried transforming the file with Instant Saxon 6.5.1. I can't
> figure out
> what I'm missing (though I'm admittedly a bumbling novice).
> My initial
> lines, created by imitation after looking at a few other samples, read
> like this:
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.1"
> <xsl:template match="/"> <!--***-->
> the line with the *** is the problem based on the line number
> (5) in the
> error message... is it possible that the error message is
> pointing me to
> the wrong line, or is there a problem with this beginning? I
> also tried
> <xsl:template match="newsletter"> (the name of the root
> element) but that
> didn't work either.
> Any help will be much appreciated. Thanks, Eric
> GET INTERNET ACCESS FROM JUNO!
> Juno offers FREE or PREMIUM Internet access for less!
> Join Juno today! For your FREE software, visit:
> saxon-help mailing list