[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: use two consecutive transformation in XSL

Subject: Re: use two consecutive transformation in XSL
From: "mus47@xxxxxxxx" <mus47@xxxxxxxx>
Date: Mon, 5 Dec 2005 19:52:24 +0100 (CET)
iexplore xml xsl transforms
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 C  00h01
> De : "David Carlisle"
> A : xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Copie C  :
> Objet : Re:  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
> ________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.