Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: reading in a nonstandard XML file and displaying contents >Thread Next - Re: reading in a nonstandard XML file and displaying contents Re: reading in a nonstandard XML file and displaying contentsTo: NULL Date: 2/6/2008 1:27:00 PM On Feb 5, 5:28=A0am, Martin Honnen <mahotr...@yahoo.de> wrote: > javelin wrote: > >> In that case write an HTML page (or an HTA application) that has an inp= ut > >> button of type file to browse for the notes.xml you need to view. It th= en > >> loads the XSLT and transforms the XML via scripting of the DomDocument.= > >> There are many examples of this sort of thing in the MSXML core service= s > >> SDK,http://msdn2.microsoft.com/en-us/library/ms763742(VS.85).aspx. > > >> The basics are: > > >> 1) Load the XML file into DomDocument > >> 2) Load the XSLT file. If you are going for re-use then look at > >> IXSLTemplate/IXSLProcessor > >> 3) Perform the transform > >> 4) Use the resulting HTML to populate the innerHTML of a suitable div i= n the > >> page. > > By "Perform the transform", do you mean programmatically, on the fly? > > Yes, that is what Joe suggests, you should use the APIs that MSXML > provides to run transformations. > > -- > > =A0 =A0 =A0 =A0 Martin Honnen --- MVP XML > =A0 =A0 =A0 =A0http://JavaScript.FAQTs.com/- Hide quoted text - > > - Show quoted text - Well, many years ago, I played with this successfully, but haven't touched it since then, and now I can't find code examples to guide me. Can you point me to a URL or two that does just this? Thanks. J | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
