Skip to main content
Inspiring
May 11, 2007
Answered

Error on XmlTransform()

  • May 11, 2007
  • 1 reply
  • 478 views
Hi,

I get the following error when trying to apply an XSLT to XML using the XmlTransform() function:

"An error occured while Transforming an XML document.
Content is not allowed in prolog."

Does anybody know what the line "Content is not allowed in prolog." means?

Thanks in advance!
This topic has been closed for replies.
Correct answer Daverms
Hi,

Do you have any code placed (or even whitespaces) before your "<?xml version" tag?.. If you have anything delete them and try running your code again....

1 reply

DavermsCorrect answer
Inspiring
May 11, 2007
Hi,

Do you have any code placed (or even whitespaces) before your "<?xml version" tag?.. If you have anything delete them and try running your code again....
Inspiring
May 11, 2007
Thanks for your help, Daverms. It's working now.