[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XMLDOM xml to html translation problem

Subject: RE: XMLDOM xml to html translation problem
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Wed, 22 Aug 2001 18:07:43 +0100
installmsxml
Joe,
That's because you don't have msxml v2.5/3.0/4.0 installed. Have a look
on my site for the installMSXML in the utilities section it will guide
you through it.

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Joseph Coffman
> Sent: 22 August 2001 17:06
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  XMLDOM xml to html translation problem 
> 
> 
> Chris,
> 
> when I change my set xmlPage line to "Msxml2.DOMDocument" I 
> get an error 
> when I attempt to access the ASP page, the error is printed here:
> 
> Error Type:
> Server Object ASP 0177
> Invalid ProgID
> 
> Does that help at all?  I'm thinking perhaps the ASP page 
> isn't finding the 
> xml document, and so simply printing the xsl transformation 
> text without 
> the xml data included.  I can pass the asp page an invalid 
> filename and it 
> will continue merrily.  Do you think that's the problem?
> 
> thanks again,
> joe
> 
> At 04:40 PM 8/22/2001 +0100, you wrote:
> >Joseph,
> >Change
> >set xmlPage = Server.CreateObject("Microsoft.XMLDOM")
> >To
> >set xmlPage = Server.CreateObject("Msxml2.DOMDocument")
> >Or put msxml2 into replace mode with xmlinst.exe
> >
> >Ciao Chris
> >
> >XML/XSL Portal
> >http://www.bayes.co.uk/xml
> >
> >
> > > -----Original Message-----
> > > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf 
> Of Joseph 
> > > Coffman
> > > Sent: 22 August 2001 16:22
> > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > Subject:  XMLDOM xml to html translation problem
> > >
> > >
> > > I've searched high and low for a solution to this 
> seemingly simple 
> > > problem.  I'm using ASP on a win2000 server machine 
> running IIS5.0 
> > > and attempting to translate an xml to html using an xslt script I 
> > > have written.  I have found code in numerous places doing this 
> > > translation serverside using the XMLDOM transformNode method.  I 
> > > have attempted to copy
> > > the code but as yet have been unable to make it function
> > > correctly.  Rather
> > > than printing the translated HTML, it prints the xsl document
> > > to the client
> > > browser.  Included below is the actual code being used, I
> > > would appreciate
> > > any feedback.
> > >
> > > thanks
> > >
> > > **************************************************************
> > > ***************
> > > <%@ LANGUAGE="VBSCRIPT" %>
> > > <!--#include file="adovbs.inc"-->
> > >
> > > <%
> > >    resume_file = Request.querystring("resume")
> > >
> > >    xml_file = Server.Mappath("xml/" + resume_file)
> > >    xsl_file = Server.Mappath("xml/resume.xsl")
> > >
> > >    set xmlPage = Server.CreateObject("Microsoft.XMLDOM")
> > >    xmlPage.async = false
> > >    xmlPage.load(xml_file)
> > >
> > >    set xmlStyle = Server.CreateObject("Microsoft.XMLDOM")
> > >    xmlStyle.async = false
> > >    xmlStyle.load(xsl_file)
> > >
> > >    Response.Write xmlPage.transformNode(xmlStyle)
> > > %>
> > > **************************************************************
> > > ***************
> > > At this point the client browser receives the xmlStyle 
> page, NOT the 
> > > translated page.  Any idea why?
> > >
> > >
> > >
> > > Joseph Coffman
> > > 703 284 8624
> > > 703 486 4567
> > > BBN Technologies
> > > A Verizon Company
> > >
> > >
> > >  XSL-List info and archive:  
> > > http://www.mulberrytech.com/xsl/xsl-list
> > >
> > >
> >
> >
> >  XSL-List info and archive:  
> http://www.mulberrytech.com/xsl/xsl-list
> 
> Joseph Coffman
> 703 284 8624
> 703 486 4567
> BBN Technologies
> A Verizon Company  
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.