![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: "root element missing" after transforming into memorystream >Thread Next - Re: "root element missing" after transforming into memorystream Re: "root element missing" after transforming into memorystreamTo: NULL Date: 12/28/2007 7:36:00 PM kevin wrote: > Is that character due to something I am doing, either in the xslt or code, > that i should not be doing? The problem is that you write to the stream and that way it is positioned at the end, then you try to read from the end of the stream. So set Position to 0 and all is fine, the ReadXml method will then find the root element. That character before the XML declaration does not cause the error message "root element is missing". It is the BOM and should not hurt. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
