Hi again
thx
I solve the problem, the answer is the following
------------------------------------------------------------------------------
-------------------------------------
str = "has the XML code"
Dim oTrasform As New XslTransform
Dim Resp As System.IO.Stream
Dim myDoc As New System.Xml.XmlDocument
Dim args As New XsltArgumentList
myDoc.LoadXml(str)
Dim txt As New System.IO.MemoryStream
Dim output As New System.Xml.XmlTextWriter(txt, System.Text.Encoding.UTF8)
oTrasform.Load(Get_Xslt_Formatter_Path())
oTrasform.Transform(myDoc, args, output, Nothing)
output.Flush()
txt.Position = 0
Dim sr As New StreamReader(txt)
textbox1.text = sr.ReadToEnd()
------------------------------------------------------------------------------
-------------------------------------
Bruce Barker wrote:
use the StringReader class to create a stream that can be passed xlst.
-- bruce (sqlwork.com)
Hi,
[quoted text clipped - 7 lines] thx in advance
Isambella
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200508/1