Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Basic question about XML and XSL in a web page >Thread Next - Re: Basic question about XML and XSL in a web page Re: Basic question about XML and XSL in a web pageTo: NULL Date: 2/1/2006 7:34:00 PM Michael D. wrote: > I am just getting started with XML, trying to create a glossary.xml file > to use in various internal e-learning courses. I've figured out how to > create a XSL transformation in my glossary.xml file, but I haven't figured > out how to actually include my glossary.xml in a real live .html page, and > have the transformations take effect. If you want to use XML and XSLT then consider doing that on the server (e.g. with ASP or with ASP.NET) where you can be sure you have an XSLT processor. Then you can simply build HTML documents dynamically and include anything you create as the result of an XSLT transformation. Doing XSLT client-side in the browser is pretty restricted, only IE 6 with MSXML 3 comes with an XSLT 1.0 processor, then Mozilla/Firefox and recent Safari versions. But scripting XSLT transformations is different in IE 6 and Mozilla and as far as I know not possible in Safari. In terms of HTML all you can do is e.g. <iframe src="glossary.xml"></iframe> where glossary.xml then references your stylesheet e.g. <?xml-stylesheet type="text/xsl" href="glossaryStylesheet.xml"?> -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
