cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morus Walter <>
Subject Re: XML error.
Date Fri, 12 Nov 2004 07:48:37 GMT
Adriano Smith writes:
> I have an XSL to generate an XML. However the following error was seen.
> What does this error mean??
> Only one top level element is allowed in an XML document. Line 6, Position 6 
It means what it says.
The result of an xslt trafo can only be an xml document, if there is just one
top level element.
So if you have
as the transform result (e.g. because you had more than one news element
in the input), the result cannot be treated as an xml document.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message