Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Basic question about XML and XSL in a web page

From: MichaelD@-----------.---------.---
To: NULL
Date: 2/1/2006 12:39:00 PM
Martin,
  Thanks for the suggestions.  We are developing in a limited environment (a 
corporate training department), and don't have access to anything other than 
simple html files (and anything interesting I can do inside of such), as well 
as various Macromedia products.  Can't do anything server side, our courses 
can't even directly interface with our Learning Management System (LMS) yet...

However, one advantage of the environment is that all the desktops of 
learners are standardized on MSIE 6, so I can be pretty confident that 
anything IE-specific that I develop will work.  It is a 12,000+ employee 
company, so I don't see any overnight change in browser standard ocurring... 
:-)



"Martin Honnen" wrote:

> 
> 
> 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/
> 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent