The first line of your XML file should be: <?xml version="1.0"?>
See the XML Specification[1] for more details on this. -John K [1] http://www.w3.org/TR/2000/REC-xml-20001006#NT-XMLDecl On Wed, 2002-03-20 at 04:17, [EMAIL PROTECTED] wrote: > When I am using Xalan, I encounter a error: > > The XML declaration may only appear at the very beginning of the > document. > > I am sure that the style sheet is a well-defined XML document. The first > line > is just an empty line. I test it on Microsoft's MSXML, it works. > > So, why Xalan does not work just due to the first empty line? > > Thank you! > > Sincerely > > ================================ > 董祥麟 Albert, S. L. Dong > 大成長城股份有限公司 資訊處 > 台南縣永康市蔦松二街3號 > TEL: 886-6-2531111 ext. 556 > FAX: 886-6-2534596 > Email: [EMAIL PROTECTED] > ================================ -- NEW CapeStudio 3, out now Design, develop, integrate & deploy Web Services http://www.capeclear.com/download
