3 replies
by pzhang
very interesting topic! I am also wondering if there is any similar sample code for Microsoft developers.
Thanks a lot for your help in advanced.
Hi
This is taken from the MSXML 3.0 help file.
-------------------------
Example VB code:
Dim xslt As New Msxml2.XSLTemplate
Dim xslDoc As New Msxml2.FreeThreadedDOMDocument
Dim xmlDoc As New Msxml2.DOMDocument
Dim xslProc As IXSLProcessor
xslDoc.async = False
xslDoc.Load "sample.xsl"
Set xslt.stylesheet = xslDoc
xmlDoc.async = False
xmlDoc.Load "books.xml"
Set xslProc = xslt.createProcessor()
xslProc.input = xmlDoc
xslProc.addParameter "param1", "Hello"
xslProc.Transform
MsgBox xslProc.outputSample.xsl
The parameter value was:
by benhereb4
What a can of worms? Gonna cover it ALL?
I REALLY wish you'd STOP sending me articles, where half the way through, I find out things like...
We'll use the Apache Software Foundation's Xalan product
Java is useless, much slower, and SIMPLY beyond my re-consideration forever! They blew it by being so SLOW and RESTRICTIVE...
You CAN KEEP -- Java!
4 FILES to accomplish that???
I'd sooner write a good 'html' file in less of a FOURTH of the time spent on what you suggest!
Just utterly ridiculous IMHO
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending