How to generate a in html displayable XML-File ???

Mischamel

Well-known member
Joined
Apr 17, 2003
Messages
91
Location
Switzerland - Rome - Darmstadt
Moin moin,
does someone know how a xml-File is generated, that subsequently can be opened in IExplorer or any other Browser.

What I did so far :
Dataset.writexmlSchema(d:\XMLSchemaFileName.xml")
Dataset.writexml(d:\XMLFileName.xml")

After Opening one or both files, I got only code shown by Bowser. I already updated MSXMLParser to SP4.
If someone could give advice without installing a processor like xalan or something similar, would be really GREAT.

Thanks this way & have a nice WeeeeeeeeeekEEEEEND
 
moin


xml will show xml

to transfer xml to html you need to transform it with an xslt document.

Code:
VB6 code

Input parameter xmlRawdata As MSXML2.DOMDocument30
        Set xslTransformer = New MSXML2.DOMDocument30
        xslTransformer.async = False

        intXMLLoadResult = xslTransformer.Load(strTransformerPath)
        
        If Not (intXMLLoadResult) Then
            
            
        End If
    
   
        strReturn = xmlRawdata.transformNode(xslTransformer)
 
Back
Top