Yes, I did realise that I hadn't put in my actual error, but I had already
submitted my question.
I am currently getting the following...
The stylesheet does not contain a document element. The stylesheet may be
empty, or it may not be a well-formed XML document.
Tried your serverside object and it comes up with
error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
Invalid ProgID.
Which microsofts solution to is, and I quote... "You can ignore this error
message. It will go away. "
Hope you can shed some light for me.
Thanks Kez
"Bob Barrows" <> wrote in message
news:...
> What do you mean by "does not appear to work"?
>
> If I brought you my toaster and asked you to fix it, what would be your
> first question to me? 
>
> Bob Barrows
>
> Kez Bates wrote:
> > Hi there
> > I am trying to create a newsfeed on my website. I used the following
> > code on my website which I found somewhere. I then placed the call
> > to this code in my web document. It does not appear to work. Am I
> > missing something??? Thanks Kez.
> >
> > Function getXML(sourceFile)
> > dim styleFile
> > dim source, style
> > styleFile = Server.MapPath("news.xsl")
> >
> > Dim xmlhttp
> > Set xmlhttp = Server.CreateObject("Microsoft.XMLHTTP")
> > xmlhttp.Open "GET", sourceFile, false
> > xmlhttp.Send
> >
> > set source = Server.CreateObject("Microsoft.XMLDOM")
> > source.async = false
> > source.loadxml(xmlhttp.ResponseText)
> >
> > set style = Server.CreateObject("Microsoft.XMLDOM")
> > style.async = false
> > style.load(styleFile)
> >
> > getXML = source.transformNode(style)
> > set source = nothing
> > set style = nothing
> > End Function
> > %>
> > <html>
>
>
>