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
<rss>
...
</rss>
<rss>
...
</rss>
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.

Morus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to