|
Subject: [xsl] Ampersand From: "Carmelo Montanez" <carmelo@xxxxxxxx> Date: Mon, 16 Jul 2001 18:32:17 -0400 |
Hi All:
I have an ampersand question with a slight twist to it, consider
the following piece of pseudo-code fow which I am intending
to get "&" (and some other stuff, but the "&" is the tricky one)
out of:
... XSL STUFF ...
<xsl:attribute-set name = "foProperties1">
<xsl:attribute name = "character"><xsl:text
disable-output-escaping="yes">&some Value</xsl:text></xsl:attribute>
</xsl:attribute-set>
..... XSL STUFF .....
<fo:character xsl:use-attribute-sets = "foProperties1">
... MORE XSL STUFF ...
However what I actually get is "&" when running the transformation
instead of "&" as intended, is that because the "xsl:text" is inside the
"<xsl:attribute>" statement?, When I use the same "xsl:text" statement
outside
the "xsl:attribute", I get the "&" as expected, any one aware of how to
go about getting the "&" inside the "xsl:attribute"?
My final goal is to end up with an FO statement that will look
like this:
<fo:character character = "&someValue;"/>
I tried using CDATA instead of "xsl:text" but ran into the same
situation. Any ideas will be great.
Thanks,
Carmelo Montanez
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] changing the value of a p, Chris Bayes | Thread | Re: [xsl] Ampersand, David Carlisle |
| [xsl] XML Special Characters, Williams, Brad | Date | RE: [xsl] XML Special Characters, Clapham, Paul |
| Month |