Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XSLT Btye Order error

From: "Oleg Tkachenko [MVP]" <oleg@--!----!---------------.--->
To: 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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent