This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dynamic xsl transformation


Thanks Chris- I would more than love to, but since our website is maintained
by a hosting company (one in which I cannot get a hold of) I cannot install
it. I have been to your site on several occassions and have found very good
solutions. I would love to get my hands on the utility that will allow me to
see what version they are running, but the link to it is not working -
http://www.bayes.co.uk/xml/utils/download.asp?/xml/utils/msxml_sniffer.asp_

Are there any workarounds if you cannot control the parser version?

-jen



----- Original Message -----
From: "Chris Bayes" <chris@bayes.co.uk>
To: <xsl-list@lists.mulberrytech.com>
Sent: Thursday, August 23, 2001 3:24 PM
Subject: RE: [xsl] dynamic xsl transformation


> Bump!!!!!
> change
> set XMLDOC = Server.CreateObject("Microsoft.XMLDOM")
> to
> set XMLDOC = Server.CreateObject("msxml2.domdocument")
> If that doesn't work follow the installMSXML intructions in the
> utilities section of my website
>
> Ciao Chris
> P.s. isn't it strange how these things come along in 3s
> Can I have chris' theorum now? '-)
>
>
> XML/XSL Portal
> http://www.bayes.co.uk/xml
>
>
> > -----Original Message-----
> > From: owner-xsl-list@lists.mulberrytech.com
> > [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> > Jennifer Hochgesang
> > Sent: 23 August 2001 20:40
> > To: xsl-list@lists.mulberrytech.com
> > Subject: [xsl] dynamic xsl transformation
> >
> >
> > I would like to transform xml files into html with an ability
> > to dynamically change the applied xsl template so that our
> > writers can write into a GUI interface and then view or edit
> > what they have done. I have been trying to do this using
> > javascript and asp with no luck. It is driving me crazy b/c
> > there are thousands of examples out there for what I want to
> > do esp this simple ASP, see below. Viewed in my browser it is
> > definitely loading the xsl, but is not pulling in the xml data.
> >
> >
> > <%
> > 'Declare local variables
> > Dim XMLDoc, XSLDoc
> >
> > set XMLDOC = Server.CreateObject("Microsoft.XMLDOM")
> > set XSLDOC = Server.CreateObject("Microsoft.XMLDOM")
> >
> > XMLDOC.async = false
> > XMLDOC.load(Server.MapPath("BA010.xml"))
> >
> > XSLDOC.async = false
> > XSLDOC.load(Server.MapPath("presentation.xsl"))
> >
> > Response.Write(XMLDOC.documentElement.transformNode(XSLDOC.doc
> umentElement))
> > %>
> >
> >
> > Or my javascript-
> > This works locally, but not on my webserver (out-sourced)
> > obviously denotes a server issue, but does anyone have a
> > workaround- <script language="javascript">
> > <!--
> > function StartUp(){
> > var DataSource=new ActiveXObject("microsoft.xmldom");
> > DataSource.load("BA010.xml");
> > var XslStyle=new ActiveXObject("microsoft.xmldom");
> > XslStyle.load("presentation.xsl");
> > document.all.item("xslcontainer").innerHTML=DataSource.transfo
> > rmNode(XslStyl
> > e.documentElement);
> > }
> > </script>
> > </head>
> >
> > <body bgcolor="#FFFFFF" text="#000000" onLoad="StartUp()">
> > <SPAN ID="xslcontainer"></Span>
> >
> > Any assistance or direction would be greatly appreciated. (If
> > I declare the xsl in my xml, it loads perfectly both locally
> > as well as online.)
> >
> > Thanks,
> > jennifer
> >
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
> >
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]