Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - XSLT Btye Order error [Thread Next] Re: XSLT Btye Order errorTo: NULL Date: 6/1/2005 1:14:00 PM Al Wilkerson wrote: > In my C# code the source file is a string for which I convert into a byte > array to put in a MemoryStream object so that I can convert to PDF using > Ibex PDF Creator. > > Here's a snippet > > MemoryStream PDFStream; > FileStream xslStream = <xslFile on system> > > byte [] xmlByteArray = UTF8Encoding.GetBtyes(xmlstring) > > MemoryStream memStream = new MemoryStream(xmlByteArray) > > When use XSL to transform the data in memStream to PDF using xslStream I get > the above error. Use StringReader instead. -- Oleg Tkachenko [XML MVP, MCAD] http://blog.tkachenko.com | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
