Subject: Re: [xsl] The best option? From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 23 Sep 2003 14:17:05 +0100 |
> Thanks, then the best solution to forget problems at the users' browser is > to transform XML in my machine(implement a server side solution) , but have > you got any example of this or any link to view this?? well if you don't need to generate the html dynamically each time there is a request for a page, you can just use a command line processor (I tend to use saxon) and generate a pile of html pages. Once you have those you just copy them to your server in the normal way. For example many w3c specs are made that way, eg: http://www.w3.org/TR/2003/PER-MathML2-20030804/ consists of around 240 html and xhtml+mathml files all generated by saxon (running on my old windows 98 laptop, as it happens) and then copied up to the w3c's web server. The html files should be viewable on any reasonable html system, not requiring any special xslt knowledge. All the XML sources and stylesheets used to generate the pages are available in the xml source zip file linked from the front matter of that page. Conversly the OpenMath site http://www.openmath.org is all generated dynamically by cocoon (on a machine in the corner of this room) which uses the xalan XSLT engine internally. Rather than pre-process the XMl sources into html as we do for the MathML spec, we just upload the xml to the server and the html is generated on the fly when there is a request for a page. cocoon has its own mailing lists (which I'm not on) and support pages (ask google). The MathML spec cited above also has examples of the first option, client side XSLT to be processed in a suitable browser. If you select the link to the XHTML+MathML version of the spec, then you get sent an xhtml page plus a client side xslt stylesheet that does "whatever is necessary" to enable mathml support in the browser you are using. That stylesheet used is described at http://www.w3.org/math/XSL. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] The best option?, Fran | Thread | RE: [xsl] The best option?, Fran |
[xsl] EXSL <func:result> returning , Nic Ferrier | Date | Re: [xsl] The best option?, Cas Tuyn |
Month |