i cannot prevent more than one news element from occuring, what is the
possible solution??
Quoting [EMAIL PROTECTED]:
> 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.
Morus
--------------------------------------------------
-------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands,
e-mail:
[EMAIL PROTECTED]