xsl-list
[Top] [All Lists]

Re: use two consecutive transformation in XSL

2005-12-05 11:52:24


1)  I want to use the consecutive transformation with a web browser that render 
mathml presentation markup. like mozilla, netscape or IExplorer with MathPlayer.

2) Is it possible to save the result of a transformation using one of the 
browsers? 
3)The other problem is why when I use IExplorer or Mozilla to view an xml 
document that use an xsl transformation that transform only some tags of the 
document the effect of the others desappear.
This is mydocument.xml :

//////////////////// Mydocument.xml /////////////

 <?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="mystyle.xsl"?>
<html  xmlns="http://www.w3.org/1999/xhtml";>
<body>
<strong>

abcd
</strong>

<i>

abcd

</i>
<body>
</html>

//////////////////// mystyle.xsl //////////////////////

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:template match="strong">
<strong>

<font color="red">
<xsl:apply-templates/>

</font>
</strong>
</xsl:template>
</xsl:stylesheet>

 

So I have the bold, but not the italic.



Message du 04/12/05 à 00h01
De : "David Carlisle" 
A : xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Copie à : 
Objet : Re: [xsl] use two consecutive transformation in XSL


You didn't say what your problem was. How to do one transform followed
by another depends on what API and system you are using. The simplest
way is just to run the first transform saving the result to a file, and
then transform this file with the second transform. However many API
will allow you to chain the transforms as in-memory processes without
having to seialialise the intermediate result to a file and parse it
back into memory. It all depends..

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--