Article View: be.comp.programming
Article #13502Re: Hoe gegevens uit XML in ASP-file steken ?
From: Frans Bouma
Date: Wed, 18 Jul 2001 19:20
Date: Wed, 18 Jul 2001 19:20
35 lines
1921 bytes
1921 bytes
"zussie" <su@islief.nl> wrote in message news:3b55db4d.1422941@news...
[xml]
[xsl]
> asp: bar.asp
>
> ...
>
> <%
> Dim xml, xsl
>
> Set xml = Server.CreateObject("MSXML2.DOMDocument")
zou toch kiezen voor DOMDocument30, heeft betere interface
> xml.async = False
>
> ' dit gedeelte is afhankelijk van hoe je je xml-data krigt
> 'aangeleverd van de database, maar ik ga er even vanuit
> 'in een string
> xml.loadXML(xmlString)
no brackets :)
> Set xsl = Server.CreateObject("MSXML2.DOMDocument")
> xsl.async = False
> xsl.load(Server.MapPath(foo.xsl))
>
> Response.Write xml.transformNode(xsl)
> %>
verder erg clever, nog simpeler eigenlijk dan mijn oplossing :)
(ookal moet je even een xsl maken)
FB
Technical Details
Message-ID:
<3b55e122$0$14045$e4fe514c@newszilla.xs4all.nl>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.wirehub.nl!transit.news.xs4all.nl!newszilla.xs4all.nl!not-for-mailReferences:
<yrh57.14825$Xy1.3155169@afrodite.telenet-ops.be> <3b55db4d.1422941@news>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: 107324,ca44b57917d5a787 X-Google-Attributes: gid107324,public X-Google-Thread: 111b97,ca44b57917d5a787 X-Google-Attributes: gid111b97,public X-Google-Thread: fcea4,ca44b57917d5a787 X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2001-07-18 12:19:01 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.wirehub.nl!transit.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail Reply-To: "Frans Bouma" <perseus@xs4all.nl> From: "Frans Bouma" <perseus@xs4all.nl> Newsgroups: be.comp.programming,nl.comp.programmeren,nl.internet.www.server-side References: <yrh57.14825$Xy1.3155169@afrodite.telenet-ops.be> <3b55db4d.1422941@news> Subject: Re: Hoe gegevens uit XML in ASP-file steken ? Date: Wed, 18 Jul 2001 21:20:46 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Lines: 37 Message-ID: <3b55e122$0$14045$e4fe514c@newszilla.xs4all.nl> NNTP-Posting-Host: 213.84.90.73 X-Trace: 995483939 newszilla.xs4all.nl 14045 213.84.90.73