Subject: Re: [xsl] RE: Replacing the space character with another character From: "Mark Peters" <flickrmeister@xxxxxxxxx> Date: Mon, 14 May 2007 09:02:09 -0400 |
No. He means, I think, that it would help us a great deal if you show us the exact results (only relevant bits please) that you get from applying the template that David suggested. You should get something like:
old[with spaces] new[with&spaces]
if you view it in the browser (like Mark suggests), it likely looks more like this, but is actually the rendered result of your output:
old[with spaces] new[with&spaces]
After removing old/new, you should, of course, get "with&spaces". If this latter is not correct, then we'd like to see a full stylesheet (small example please) plus a small input XML that reproduces this behavior with the processor you use.
Cheers, -- Abel Braaksma
I see what you mean. I'm opening the output in a plain text editor (Notepad). The template does seem to be replacing the indexterm character spaces with ampersands.
Sorry about that! I mistakenly thought that the template wasn't working, because many of my intexterm elements are nested (which I didn't think was important to mention :-(). The template removes the nesting and displays all of the indexterms in a single indexterm element.
<indexterm> old[domainsand components] new[domainsand&components] </indexterm>
Thanks, Mark
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] RE: Replacing the space c, Abel Braaksma | Thread | Re: [xsl] Replacing the space chara, Florent Georges |
Re: [xsl] RE: Replacing the space c, David Carlisle | Date | RE: [xsl] xsl:function problem, Michael Kay |
Month |