Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - ASP include of an XML file [Thread Next] Re: ASP include of an XML fileTo: NULL Date: 10/5/2004 11:01:00 PM Hi, if i have understand, you want to transforme xml by xsl on page load ?!... use the DOM api for make this. in your ASP page load xml file in a DOM object, make the same for XSL steelsheet and write the transformation result in the Response ASP object. but i'm french and i hope to have understand your question....;-) @+ Boss Hog "VBH" <dummy@n...> a écrit dans le message de news: 2s4qfaF1gupudU1@u...... > This is probably a silly question but... > > I have an XML file which processes quite happily with XSL when opened on > its own. > > However, I just want to include it in an ASP file. But when I do an SSI, > the XML is not reformatted by the XSL. > > As in: > <!-- #INCLUDE FILE="2003-06.XML" --> > > The XML file includes > <?xml-stylesheet type="text/xsl" href="blog2.xsl"?> > > Which works fine when the XML file is opened on its own. However when I > try it as an SSI, I just get the text as one long string. > > Its for a site front page and is the XML blog for "what's new". I've > written my own blogging app which outputs xml files. I don't want to put > a load of processing into the front page that I have already handled with > XSL. > > So how do you do an ASP SSI of an XML document and get it to fire the XSL? > > Any suggestions? > > TIA > -------------------- > VBH | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
