YES! I used concat instead.
Thanks v. much for your help. I should have thought of that earlier (and
saved myself a lot of time).
:-)
Hanaa Barakat
4D/831/8200/MKM ~~~ 905-413-4409




"When you were born you alone cried, and everybody else was happy.
 So live that when you die, you alone are happy, and everybody else is
crying."
- Unknown





David Marston/CAM/Lotus@Lotus on 09/11/2001 10:20:55 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: help writing special characters



It appears that Hanaa Barakatis trying to sneak some special characters
into the output.

>select="root/{{$idName;&#125}"
>...cause[s] this exception:
>Illegal decimal character reference.

As the parser goes through
&#125
the next character must be either another decimal digit or a semicolon.
Instead, it found }. But a quick check of my ASCII chart shows that
} *is* }, so I wonder what the real goal is. Is this an attempt
to create a stylesheet under xsl:namespace-alias?

The ; after idName would come out literally, because it's not
terminating an &-sequence from the parser's point of view. Each &
earlier in the line had already been terminated.

This may be a case where you have to assemble the desired string
using concat() in xsl:value-of inside
<xsl:attribute name="select">
or maybe CDATA sections can do the job.
.................David Marston




Reply via email to