can't output text before document element?

Hello,

When I try to run my template, which is programmed in Java and which is supposed to extract information from XML-File, I use a XSLTInputSource interface. But the compiler send the following message:

org.xml.sax.SAXException: Warning: can't output text before document element! Ignoring...

Can anyone explain me, what this Exception means?

Thanks

RudiRatte

[408 byte] By [RudiRatte] at [2007-9-26 4:17:41]
# 1
how does your xml file look like?
j_a_v_a at 2007-6-29 13:28:29 > top of Java-index,Archived Forums,Java Programming...
# 2
The XML-File is in a database, which I can't access.
RudiRatte at 2007-6-29 13:28:29 > top of Java-index,Archived Forums,Java Programming...