|
Subject: Access to string/variables per character From: Frederic Schwebel <schwebel@xxxxxxxxxxxxxxxxxxx> Date: Thu, 2 Dec 1999 09:46:40 +0100 (MET) |
Hello,
I'm trying to linearize MathML equations into a string for blind people to
be able to read it. Here's an exctract of my stylesheet :
[...]
<xsl:template match="math">
<B>Equation : </B>
<P>
<xsl:variable name="copy99">
<xsl:apply-templates select="@*|node()"/>
</xsl:variable>
<xsl:value-of select="$copy99"/>
</P>
</xsl:template>
[...]
the variable copy99 contains the "raw" linearized MathML equation, and I'd
like to remove or add some characters inside this string : spaces, ( and
)... So there must be a possibility with <xsl:for-each , concat,
substring-before and after, but I can't find any example or explanation
dealing with it... is xsl:for-each only for elements ? How do I access
each char of copy99 ? copy99[1], copy99[2]... ?
Thanks in advance for your reply
Frederic SCHWEBEL
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: XML/XSL->PDF, David Tolpin | Thread | Re: Access to string/variables per , David Carlisle |
| RE: XSL-future, Linda van den Brink | Date | AW: XML/XSL->PDF, WEU, Udo Weigl |
| Month |