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