K
Ken Simmons
I have having a problem when transforming. It is taking an unusually long
time to transform. Any tips?
Dim xmlDoc As System.Xml.XmlDataDocument = New
System.Xml.XmlDataDocument(dsClaimProcessing_SelectData)
Dim xslTran As System.Xml.Xsl.XslTransform = New System.Xml.Xsl.XslTransform
xslTran.Load("ClaimDSToXML.xslt")
Dim sClaimProcessingFormattedData As String
Dim NewMemoryStream As New System.IO.MemoryStream
'THIS LINE TAKES ABOUT 4min 30sec
xslTran.Transform(xmlDoc, Nothing, NewMemoryStream, Nothing)
NewMemoryStream.Position = 0
Dim trTextReader As New System.IO.StreamReader(NewMemoryStream)
sClaimProcessingFormattedData = trTextReader.ReadToEnd
time to transform. Any tips?
Dim xmlDoc As System.Xml.XmlDataDocument = New
System.Xml.XmlDataDocument(dsClaimProcessing_SelectData)
Dim xslTran As System.Xml.Xsl.XslTransform = New System.Xml.Xsl.XslTransform
xslTran.Load("ClaimDSToXML.xslt")
Dim sClaimProcessingFormattedData As String
Dim NewMemoryStream As New System.IO.MemoryStream
'THIS LINE TAKES ABOUT 4min 30sec
xslTran.Transform(xmlDoc, Nothing, NewMemoryStream, Nothing)
NewMemoryStream.Position = 0
Dim trTextReader As New System.IO.StreamReader(NewMemoryStream)
sClaimProcessingFormattedData = trTextReader.ReadToEnd