HTML Generation from XML

G

Guest

Hi!

I have a XMl and a XSL file. And i am generating HTML file using the XXML
and XSL file using the following code
Dim xslt As New XslTransform
Dim mydata As New XmlDocument
mydata.Load("PrintId.xml")
xslt.Load("PrintID.xslt")
Dim writer As XmlTextWriter = New
XmlTextWriter("C:\Inetpub\wwwroot\VBPDFDemo\PrintID15.html", Nothing)
xslt.Transform(mydata, Nothing, writer, Nothing)
xslt = Nothing
mydata = Nothing
writer = Nothing


The code excutes fine, But it's taking a ot of time to generate the HTML.
and the process continues even if I closed my browser and generates the file.
How do i solve the problem. how do i minimize the time?

Can anyone help me out

Thanks in advance

Baren
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,782
Latest member
ThomasGex

Latest Threads

Top