[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Transformer Error Using Xalan
Hi all, I am using Xalan v2.5.1 in a servlet to transform an xml file using an xsl stylesheet and sending it back to the browser. I get the following error when I try to do this -------------------------------------------------------------------------- The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. Invalid at the top level of the document. Error processing resource "..." Line 1, Position 39 <?xml version="1.0" encoding="UTF-8"?> --------------------------------------------------------------------------- Both my XML and XSL documents did not have any encoding attributes in their XML declaration and I included it, but it still gives the same error. If I use IE6 to view the XML, then it transforms using the included stylesheet without any problems ... I came across this problem on the list before but couldnt find any solution to it. Could someone please shed any light on this !! Thanks, Priya XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|